Let's Encrypt

Hi,
Our “Let’s Encrypt” cert is up for renewal soon but it’s proving hard to do because we have the subdomain going through Cloudflare.

My question is: do we need “Let’s Encrypt” if we have the subdomain as a CNAME on Cloudflare?

This is the redout from .sslshopper.com:
"
Server Type: Cloudflare-nginx

The certificate should be trusted by all major web browsers (all the correct intermediate certificates are installed).

The certificate was issued by Comodo. Write review of Comodo

The certificate will expire in 180 days. Remind me

The hostname (our subdomain ) is correctly listed in the certificate.
"
Thanks for any help you can give.

1 Like

It depends.

The Comodo certificate (well, Cloudflare uses other CAs too) protects the connection between visitors to your website and Cloudflare.

You should also use a certificate to protect the connection between Cloudflare and your origin server. (You don’t have to, but it’s insecure not to.)

https://support.cloudflare.com/hc/en-us/articles/202680024-Do-I-need-an-SSL-certificate-installed-on-my-server-

Let’s Encrypt is a good choice for that, but you could use any other normal trusted CA, or the Cloudflare Origin CA, which issues certificates that are trusted by Cloudflare but not by browsers.

https://support.cloudflare.com/hc/en-us/articles/218408028-How-to-install-an-Origin-CA-Certificate-Other-

Let’s Encrypt TLS-SNI-01 validation won’t work for :orange: sites, but DNS-01 and HTTP-01 will.

I guess the question is whether it’s easier to fix Let’s Encrypt renewal, or to switch to the Cloudflare Origin CA, and what you’d prefer to do.

What’s going wrong with Let’s Encrypt?

1 Like

Hi mnordhoff and thanks for the reply,

Nothing is going wrong it’s just that we have been told that the “let’s Encrypt” cert is due to finish but when we try to renew we get an error right at the end.

“There was a problem installing the certificate. Please contact support for more information”

Support tells us that the cert will still work because we have Cloudflare SSL but I have to make sure.

Let’s Encrypt runs out in 3 days

It depends. If you visit the website over HTTPS and Cloudflare is configured with the “Full (Strict)” security setting, when your origin certificate ceases to be valid, the site will stop working, and Cloudflare will start returning an error page. If Cloudflare is configured with one of the less secure settings, it ought to continue working, i think.

In addition to the articles @mnordhoff linked, I think this image illustrates the differences between the SSL options pretty well.

Basically if you want SSL all the way to your origin server, and you’re utilizing Cloudflare, you will need to install the :cert: on your origin server.

We have the setting on Full but not strict. Do you think that the site will work like that?

I believe so.

But you should switch to “Full (strict)” so that the connection is secure from an active attacker. (Which would prevent your site from loading with an expired or otherwise invalid certificate.)

Cheers but that’s the problem… we can’t get the “Let’s encrypt” to renew. Even support couldn’t do it.

We have the subdomain CNAME set as an alias of kajabi url.

I am sure we need to pause Cloudflare then set the nameservers from Cloudflares to out hosts and then the certificate will renew. Then set everything back as it was .

Does that look like a reasonable course of action?

1 Like

It’s getting off-topic for this forum, but why can’t it renew? It’s perfectly possible to use DNS-01 or HTTP-01 validation on an :orange: site.

If you want to go forward with figuring out the Let’s Encrypt problem, try posting on https://community.letsencrypt.org/. (Disclosure: I’m a moderator there.)

But you can also switch to the Cloudflare Origin CA, as mentioned above, or continue using the “Full” (non-strict) security setting with your soon-to-be-expired certificate.

Depending on what the problem is, pausing :orange: and switching the site to :grey:, or totally switching DNS providers, might solve it, but pausing Cloudflare may or may not be acceptable to you, and switching DNS providers is a lengthy and probably inconvenient process. Especially doing it every 2-3 months. There are sure to be far simpler options.

2 Likes

Hi mnordhoff,
Thank for the reply. I’ll post on the link you provide.

Just found out we need the Full setting to use Kajabi.

Cheers.
See you on the other post.

Great thread and super helpful. Kudos to @mnordhoff and @anon13938084 for their assistance.

2 Likes