TLS handshake error-Let's Encrypt #1347
Replies: 3 comments 1 reply
-
I have the same problem. config/environments/production.rbRails.application.configure do
config.assume_ssl = true
config.force_ssl = true
end config/deploy.ymlproxy:
ssl: true
host: alpha.REDACTED.com Cloudflare DNSCloudflare TLSProxy log
FirewallI am able to connect to the server using http via Cloudflare:
I am also able to connect to the server using http directly:
|
Beta Was this translation helpful? Give feedback.
-
I was able to find a solution in the thread here: Turns out that I had a Cloudflare WAF page rule that initiated a browser challenge to visitors from some country that happened to be the country that LetsEncrypt issues a request from to verify domain ownership. |
Beta Was this translation helpful? Give feedback.
-
for anyone facing this issue with CloudFlare. this is the solution.
production.rb:
remove your current DNS settings for @ and www. or other subdomains. Than add again, without any proxy on CloudFlare. then deploy your app, then open proxies. CloudFlare had to be reseted it turns out, as I mentioned above. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have deployed my application and it's fine when
ssl: false
under proxy.Now I have to do
ssl: true
.But getting error:
Server Setup:
Have checked my server's both Port 80 and 443 is showing opened on https://portchecker.co/ .
Server transfer request to VM where the application had been deployed.
I have a server's port (abcd) which map with NAT to VM's port (443).
I also have another port (wxyz) which map with NAT to VM's port (80).
Beta Was this translation helpful? Give feedback.
All reactions