Hi, I am struggling to get SSL working on cmucl. I looked at http://common-lisp.net/pipermail/tbnl-devel/2008-January/001616.html and did what was explained there : a) with openssl I generated private key and certificate b) I started the server with : (defvar *hportal443* (hunchentoot:start-server :port 443 :ssl-certificate-file #P"/data/lispdata/ssl/cacert.pem" :ssl-privatekey-file #P"/data/lispdata/ssl/pkey.pem")) When I browse to https://localhost then the browser notifies about the certificate. After I have accepted it, it takes about 25secs before the browser is done, however it renders an empty page. I expected to see the default page. Also any page I publish isnt rendered either. The log doesnt give any hints. It gives : [2008-02-17 11:28:39 [INFO]] Default handler called for script /favicon.ico [2008-02-17 11:28:39] 127.0.0.1 - "GET /favicon.ico HTTP/1.1" 200 641 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" Is there anybody who had similar experiences and managed to get it sorted ? Thanks, Wout Perquin
Did you try (SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL) to see any errors in the debugger? Did you start the cmucl multiprocessing loop with (mp::startup-idle-and-top-level-loops))? Forgetting the latter often results in very long response times.
-Hans
On Feb 17, 2008 10:28 AM, Wout Perquin wout.perquin@skynet.be wrote:
Hi, I am struggling to get SSL working on cmucl. I looked at http://common-lisp.net/pipermail/tbnl-devel/2008-January/001616.html and did what was explained there : a) with openssl I generated private key and certificate b) I started the server with : (defvar *hportal443* (hunchentoot:start-server :port 443 :ssl-certificate-file #P"/data/lispdata/ssl/cacert.pem" :ssl-privatekey-file #P"/data/lispdata/ssl/pkey.pem")) When I browse to https://localhost then the browser notifies about the certificate. After I have accepted it, it takes about 25secs before the browser is done, however it renders an empty page. I expected to see the default page. Also any page I publish isnt rendered either. The log doesnt give any hints. It gives : [2008-02-17 11:28:39 [INFO]] Default handler called for script /favicon.ico [2008-02-17 11:28:39] 127.0.0.1 - "GET /favicon.ico HTTP/1.1" 200 641 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" Is there anybody who had similar experiences and managed to get it sorted ? Thanks, Wout Perquin
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
(SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL)
The debugger says : the value of CL+SSL::thing is #([...]), which is not of type (SIMPLE-ARRAY (UNSIGNED-BYTE 8)(*)) [condition of SIMPLE-TYPE-ERROR] I did a google on "CL+SSL::thing SIMPLE-TYPE-ERROR" but no match -Wout
-----Original Message----- From: tbnl-devel-bounces@common-lisp.net [mailto:tbnl-devel-bounces@common-lisp.net]On Behalf Of Hans Hübner Sent: zondag 17 februari 2008 11:25 To: General interest list for Hunchentoot and CL-WEBDAV Subject: Re: [hunchentoot-devel] Hunchentoot and SSL on cmucl
Did you try (SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL) to see any errors in the debugger? Did you start the cmucl multiprocessing loop with (mp::startup-idle-and-top-level-loops))? Forgetting the latter often results in very long response times.
-Hans
On Feb 17, 2008 10:28 AM, Wout Perquin wout.perquin@skynet.be wrote:
Hi, I am struggling to get SSL working on cmucl. I looked at http://common-lisp.net/pipermail/tbnl-devel/2008-January/001616.html and
did
what was explained there : a) with openssl I generated private key and certificate b) I started the server with : (defvar *hportal443* (hunchentoot:start-server :port 443 :ssl-certificate-file #P"/data/lispdata/ssl/cacert.pem" :ssl-privatekey-file #P"/data/lispdata/ssl/pkey.pem")) When I browse to https://localhost then the browser notifies about the certificate. After I have accepted it, it takes about 25secs before the browser is
done,
however it renders an empty page. I expected to see the default page. Also any page I publish isnt rendered either. The log doesnt give any hints. It gives : [2008-02-17 11:28:39 [INFO]] Default handler called for script
/favicon.ico
[2008-02-17 11:28:39] 127.0.0.1 - "GET /favicon.ico HTTP/1.1" 200 641 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" Is there anybody who had similar experiences and managed to get it sorted
?
Thanks, Wout Perquin
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
_______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Sun, 17 Feb 2008 12:18:39 +0100, "Wout Perquin" wout.perquin@skynet.be wrote:
(SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL)
The debugger says : the value of CL+SSL::thing is #([...]), which is not of type (SIMPLE-ARRAY (UNSIGNED-BYTE 8)(*)) [condition of SIMPLE-TYPE-ERROR] I did a google on "CL+SSL::thing SIMPLE-TYPE-ERROR" but no match
Seems like something you should report to the CL+SSL mailing list.
Cheers, Edi.
I ran into this as well and I think the solution was to upgrade to a newer version of CFFI. I think it was the cffi+lotsstuff branch that fixed the problem for me. You might check on the CFFI-devel mailing list (and complain about the lack of a sane versioning numbering/ naming system there).
Cyrus
On Feb 17, 2008, at 3:50 AM, Edi Weitz wrote:
On Sun, 17 Feb 2008 12:18:39 +0100, "Wout Perquin" <wout.perquin@skynet.be
wrote:
(SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL)
The debugger says : the value of CL+SSL::thing is #([...]), which is not of type (SIMPLE-ARRAY (UNSIGNED-BYTE 8)(*)) [condition of SIMPLE-TYPE-ERROR] I did a google on "CL+SSL::thing SIMPLE-TYPE-ERROR" but no match
Seems like something you should report to the CL+SSL mailing list.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
It was tested on the latest CFFI version (0.9.2), but given your remark about the versioning I reinstalled 0.9.2. but the bug remains. Wout
-----Original Message----- From: tbnl-devel-bounces@common-lisp.net [mailto:tbnl-devel-bounces@common-lisp.net]On Behalf Of Cyrus Harmon Sent: zondag 17 februari 2008 16:43 To: General interest list for Hunchentoot and CL-WEBDAV Subject: Re: [hunchentoot-devel] Hunchentoot and SSL on cmucl
I ran into this as well and I think the solution was to upgrade to a newer version of CFFI. I think it was the cffi+lotsstuff branch that fixed the problem for me. You might check on the CFFI-devel mailing list (and complain about the lack of a sane versioning numbering/ naming system there).
Cyrus
On Feb 17, 2008, at 3:50 AM, Edi Weitz wrote:
On Sun, 17 Feb 2008 12:18:39 +0100, "Wout Perquin" <wout.perquin@skynet.be
wrote:
(SETF HUNCHENTOOT:*CATCH-ERRORS-P* NIL)
The debugger says : the value of CL+SSL::thing is #([...]), which is not of type (SIMPLE-ARRAY (UNSIGNED-BYTE 8)(*)) [condition of SIMPLE-TYPE-ERROR] I did a google on "CL+SSL::thing SIMPLE-TYPE-ERROR" but no match
Seems like something you should report to the CL+SSL mailing list.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
_______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel