I go this issue Invalid SSL certificate Error code 526

What is the name of the domain?

sudomain.domain.com

What is the error number?

Error code 526

What is the error message?

The origin web server does not have a valid SSL certificate.

What is the issue you’re encountering

I can’t access my subdomains and they show me this error “Invalid SSL certificate Error code 526” and while my domain I can still access. So, what should I do in this case?

What steps have you taken to resolve the issue?

I’ve disabled Cloudflare to try and renew the subdomain in question, but it still doesn’t work. and my SSL/TLS is in full strict mode. So, what else can I do so that I never get this kind of error again?

Screenshot of the error

And I had renewed all the certificates for its domains. And I don’t know why when it’s in full strict mode it doesn’t work. And that I have to put it in Full for it to work. So, can you please tell me more about this?

Please verify that your server is responding with a valid certificate.

As you didn’t share your domain, we won’t be able to do that for you.

You can try this command:
curl -svo /dev/null https://sub.example.com --connect-to ::SERVER_IP
Replace SERVER_IP with the server’s actual IP address, not the Cloudflare IP.

1 Like

Thank you for reply…
Im fixed that…
Thank you so much to renew correctly te certificat of my domain in using sudo certbot --nginx -d subdomain.domain.com

For domains proxied by Cloudflare, you might want to consider using a Cloudflare Origin Certificate instead. That saves you the trouble of renewing, but only works for proxied domains.

1 Like

Please, show how can i make that?

Thanks for reply. So, I used this “Cloudflare origin CA - Cloudflare SSL/TLS docs” for my domain. But it only supports my domain and a single subdomain. It doesn’t support other domains in other subdomains. So, what should I do? Should I change it and use letsencrypt preferably in all my domains and subdomains of my domains? Because I can’t afford the upgrade version of “Cloudflare origin CA - Cloudflare SSL/TLS docs”…