-
Notifications
You must be signed in to change notification settings - Fork 231
SSL Certificate on Windows
cumpais edited this page Mar 29, 2012
·
1 revision
If your certificate path is not correctly set up, you'll get a:
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed)
error
The gem by default has the ssl certificate needed for gmail import on a unix based style.
If you're running on Windows, your line should look like (on omnicontacts.rb, gmail line):
- :ssl_ca_file => Rails.root.join('lib/assets/your-certificate.crt').to_s
the your-certificate.crt file should be on your lib/assets folder.
So, if your project is on C:\sites\project, the file should be stored in C:\sites\project\lib\assets\your-certificate.crt
If you have no certificate, go to
http://curl.haxx.se/docs/caextract.html
And get one there!