Hi all;
I'm trying to understand how SSL works with hunchentoot. I set up a CA for the domain 'achilles.olympus.net' following the openssl documentation which produced the public key cacert.pem and the private key private/cakey.pem.
Then I started up a server as follows:
(hunchentoot:start-server :port 4243 :ssl-certificate-file "ca-cert.pem" :ssl-privatekey-file "private/ca-key.pem")
When I browse to the url:
https://achilles.olympus.net:4243/test
It times out with "Done" and a blank page (no html, no text).
If I start the same server eithout the SSL certificates on port 4242 and browse the page:
http://achilles.olympus.net:4242/test
It works perfectly (produces my test page as I coded it).
My understanding of SSL is pretty limited. Is there something obvious I'm doing wrong? The log entry is unilluminating:
[2006-11-23 10:42:17] 192.168.1.13 - "GET /test HTTP/1.1" 200 680 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko /20060417"
Thanks for any help.
--Jeff
On Thu, 23 Nov 2006 10:59:24 -0800, Jeffrey Cunningham jeffrey@cunningham.net wrote:
I'm trying to understand how SSL works with hunchentoot. I set up a CA for the domain 'achilles.olympus.net' following the openssl documentation which produced the public key cacert.pem and the private key private/cakey.pem.
Is the private key associated with a password?
Then I started up a server as follows:
(hunchentoot:start-server :port 4243 :ssl-certificate-file "ca-cert.pem" :ssl-privatekey-file "private/ca-key.pem")
Are you sure the files are found? Did you try with absolute pathnames?
When I browse to the url:
https://achilles.olympus.net:4243/test
It times out with "Done" and a blank page (no html, no text).
Which Lisp implementation are you using?
Cheers, Edi.