I'm trying to run Thin with ssl enabled, but when I connect to
server, it crashes with unknown ssl error. I'm running Thin 1.3.1
and OpenSSL 1.0.0e. Here is the output from console:
keeper@keeper-unix-v6:~/workspace/DNS_Admin$ thin -C config.yml
--ssl --ssl-key-file /home/keeper/certs/server.key --ssl-cert-file
/home/keeper/certs/server.crt start
Deleting stale PID file
/home/keeper/workspace/DNS_Admin/thin.pid
keeper@keeper-unix-v6:~/workspace/DNS_Admin$ sudo netstat -ptna
| grep 7004
tcp 0 0 127.0.0.1:7004 0.0.0.0:* LISTEN 10217/thin server (
keeper@keeper-unix-v6:~/workspace/DNS_Admin$ curl -v -X GET
https://localhost:7004
* About to connect() to localhost port 7004 (#0) * Trying
127.0.0.1... connected * Connected to localhost (127.0.0.1) port
7004 (#0)
* successfully set certificate verify locations: * CAfile: none
CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): *
Unknown SSL protocol error in connection to localhost:7004 *
Closing connection #0 curl: (35) Unknown SSL protocol error in
connection to localhost:7004
keeper@keeper-unix-v6:~/workspace/DNS_Admin$