On 18 April 2013 22:23, Sven Van Caekenberghe <s...@stfx.eu> wrote: > Hi there Mariano, > > On 18 Apr 2013, at 22:03, Mariano Martinez Peck <marianop...@gmail.com> wrote: > >> Hi. Let's say I have a seaside running over HTTP with a ZnZincServerAdaptor. >> Is there a Zodiac adaptor I can use to have my seaside app running over >> HTTPS? >> >> Thanks, >> >> -- >> Mariano >> http://marianopeck.wordpress.com > > This is Pharo Smalltalk, of course you can do that ;-) > > The trick is to use #server: to give the adaptor a specific server instance > to use, in this case a configured ZnSecureServer instance. > > Something along these lines (I haven't actually tried it) > > | httpsServer | > > (httpsServer := ZnSecureServer on: 1443) > certificate: '/home/sven/ssl/key-cert.pem'. > > ZnZincServerAdaptor default > server: httpsServer; > configureDelegate; > configureServerForBinaryReading; > start. > > You could best test the httpsServer on its own (you need to get the > certificate right). > Problem is, this won't work on Mac OS X. > why? anything i can help with?
> If you can't get it to work, let me know and I can try on a Linux machine > (but not right away). > > Sven > > PS: Maybe ZnZincServerAdaptor>>#server: should send the 2 #configure messages > itself, now that I look at it. > > -- > Sven Van Caekenberghe > Proudly supporting Pharo > http://pharo.org > http://association.pharo.org > http://consortium.pharo.org > > > > > _______________________________________________ > seaside mailing list > seas...@lists.squeakfoundation.org > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Best regards, Igor Stasenko.