1

I have one Trusted Certificate (.pfx extension) and I generate the .crt and .key files to use with Thin Server.

When I access the server the certificate don't work, still untrusted by chrome, I followed the instructions to use --ssl-cert-file and --ssl-key-file with thin server, what I'm doing wrong?

Sorry my bad english :/

Arvind
  • 2,671
  • 1
  • 18
  • 32
gumaro
  • 67
  • 6
  • Did you checked thin's logfile ? Did you enabled use of SSL ? – joanbm Aug 23 '15 at 01:09
  • @JoanBlackmoore the command line used to run the server is thin start -p 12001 --ssl --ssl-cert-file certificate.crt --ssl-key-file certificate.key – gumaro Aug 23 '15 at 01:41

1 Answers1

1

Check thin version, in older version this was the issue https://github.com/macournoyer/thin/issues/244 Chrome asks to "Select a Certificate" for SSL on my Rails app using thin

They have resolved it in new version https://rubygems.org/gems/thin/versions/2.0.0.pre

Community
  • 1
  • 1
Arvind
  • 2,671
  • 1
  • 18
  • 32
  • 1
    My version of thin server is _v1.6.3 codename Protein Powder_, I used in command line --ssl-disable-verify and the problem persist. The version 2.0.0.pre in rubygems have the year correct? – gumaro Aug 23 '15 at 14:44
  • @gumaro yes , as you can check with this article http://iswwwup.com/t/7caadb5c376f/chrome-asks-to-select-a-certificate-for-ssl-on-my-rails-app-using-thin.html – Arvind Aug 23 '15 at 14:58
  • so the 2.0.0.pre is the only one can handle this bug with SSL? – gumaro Aug 23 '15 at 15:36
  • have you tried 2.0.0 ?? have you check the article I share in last comment ?? – Arvind Aug 23 '15 at 15:38