#160 new
Mark A. Richman

Assertion failed: (e > 0), function SslContext_t, file ssl.cpp, line 167.

Reported by Mark A. Richman | June 10th, 2012 @ 08:32 PM | in Future

I am trying to run my Rails app in SSL mode. I created a self-signed cert as follows:

openssl req -new -nodes -keyout server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

and I'm starting my app as such:

thin start --ssl --ssl-verify --ssl-key-file /Users/mark/certs/server.key --ssl-cert-file /Users/mark/certs/server.key -D -V

When I make a request, the server crashes with:

>> Using rack adapter
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Tracing ON
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
Assertion failed: (e > 0), function SslContext_t, file ssl.cpp, line 167.
Abort trap: 6

Am I doing something wrong?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages