[hunchentoot-devel] Hunchentoot and SSL on cmucl

Wout Perquin wout.perquin at skynet.be
Sun Feb 17 11:18:39 UTC 2008


> (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 at common-lisp.net
[mailto:tbnl-devel-bounces at 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 at 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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
_______________________________________________
tbnl-devel site list
tbnl-devel at common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel




More information about the Tbnl-devel mailing list