I have
config.force_ssl = true
in my environment/production.rb file so as to make every request sequre with ssl and https.
I came to know that SSL can't be enabled in development mode. So, I started my thin web server in production mode and when I went to
https://127.0.0.1:3000
it's the same as the development mode(SSL connection error). Tried almost all the links of first 6 pages fetched by google. Anybody have solution to my problem??
PS I'm working on windows and I have client authentication certificate.
The problem you described is related to using a self-signed certificate. SSL certificates relies on a chain of trust, where the root CA's (Certification Authority) are at the top. To understand more how it works, the Wikipedia entry on SSL provide a good insight. For Self-Signed certificates there's also an entry at Wikipedia .
To solve you issue you can have a self-signed certificate (be aware of the security issues), but your users will be always prompted for an action. Another option is to apply for a certificate on CertCA since some Linux distributions have them on root CA's. The last and most reliable option is to acquire a certificate.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.