I have a Rails app that is configured to only use SSL. I also have free SSL certificates from StartSSL.
I use thin as my web server with this command:
thin start -p 80 & thin start -p 443 --ssl --ssl-key-file ./.ssl/sslkey.key --ssl-cert-file ./.ssl/sslcert.cert &
This technically works-- visiting the http version of my site redirects to the https version. However, Chrome and Safari both prompt me when I visit the site to "Select a Certificate" from my local Keychain to validate with the server.
This behavior is not desirable. How do I set up thin with SSL in such a way that this dialog does not appear?
As joelmaranho points out, this appears to be a thin
issue. At the time of his writing, the solution, --ssl-disable-verify
, was not yet available in thin
, but is is now.
Solution: start thin with --ssl-disable-verify
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With