We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to get an SSL version of hunchentoot running, on clozure common lisp 1.11.1 running on a MacBook Pro with OS 10.13.6
I started by creating certificates in the /tmp directory, as follows:
openssl req -new -x509 -nodes -out server.crt -keyout server.key
Here is my lisp code:
(ql:quickload "hunchentoot")
(in-package hunchentoot)
(define-easy-handler (test-ssl :uri "/secure") () (setf (content-type*) "text/plain") "SECURED PAGE")
(defvar ssl-acceptor (make-instance 'easy-ssl-acceptor :port 7777 :ssl-privatekey-file #P"/tmp/server.key" :ssl-certificate-file #P"/tmp/server.crt"))
(start ssl-acceptor)
When I try to access https://localhost:7777/secure from my browser, the system throws an error in the log window:
Any suggestions for how to fix this?
The text was updated successfully, but these errors were encountered:
Does it work not in CCL?
Sorry, something went wrong.
I've seen posts saying they enabled SSL in hunchentoot from a few years ago, but I don't know whether it still works or not.
So you're only able to run CCL?
No branches or pull requests
I tried to get an SSL version of hunchentoot running, on clozure common lisp 1.11.1 running on a MacBook Pro with OS 10.13.6
I started by creating certificates in the /tmp directory, as follows:
openssl req -new -x509 -nodes -out server.crt -keyout server.key
Here is my lisp code:
(ql:quickload "hunchentoot")
(in-package hunchentoot)
(define-easy-handler (test-ssl :uri "/secure") ()
(setf (content-type*) "text/plain")
"SECURED PAGE")
(defvar ssl-acceptor
(make-instance 'easy-ssl-acceptor
:port 7777
:ssl-privatekey-file #P"/tmp/server.key"
:ssl-certificate-file #P"/tmp/server.crt"))
(start ssl-acceptor)
When I try to access https://localhost:7777/secure from my browser, the system throws an error in the log window:
Any suggestions for how to fix this?
The text was updated successfully, but these errors were encountered: