SSL Not working with apache and cloudflare

Hello,

I have Create SSL certificate using "Let's Encrypt" in Ubantu 18.10 .i follow below documentation to create SSL certificate.

https://www.linode.com/docs/security/ssl/install-lets-encrypt-to-create-ssl-certificates/

I have check SSL certificate was successfully created I have used below command to test it.

openssl verify chain.pem
openssl verify -CAfile chain.pem cert.pem

But Site not working getting 525 error.In cloudflare ""Universal SSL is Active "

Anyone please suggest possible solution to fix this Issue?

Thanks

2 Replies

Did you configure SSL in your webserver?

Yes I have configure apache server cofig file

SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem

I have also check below command to view certificate

openssl s_client -connect example.com:443 -servername example.com

Output

CONNECTED(00000005)
depth=2 C = IE, O = Baltimore, OU = CyberTrust, CN = Baltimore CyberTrust Root
verify return:1
depth=1 C = US, ST = CA, L = San Francisco, O = "CloudFlare, Inc.", CN = CloudFlare Inc ECC CA-2
verify return:1
depth=0 C = US, ST = CA, L = San Francisco, O = "CloudFlare, Inc.", CN = sni.cloudflaressl.com

verify return:1

Thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct