Unraid, NGINX, Cloudflare, Invalid SSL certificate Error code 526

Answer these questions to help the Community help you with Security questions.

What is the domain name?

Have you searched for an answer?

Please share your search results url:
Ibracorp videos on nginx and Cloudflare
I followed this video twice

When you tested your domain using the [, what were the results?
All okay BUT its showing the old certificate, even though on Cloudflare/NGINX i am using an origin server certificate

Describe the issue you are having:
keep getting is 526 , plus website shows old certificate “Lets encrypt” even though I removed it from Cloudflare and nginx and replaced with origin server

What error message or number are you receiving?
keep getting is 526 , plus website shows old certificate “Lets encrypt” even though I removed it from Cloudflare and nginx and replaced with origin server

What steps have you taken to resolve the issue?

  1. paused ssl universal, revoked all certificates and reissued new origin certificate through Cloudflare and NGINX

Was the site working with SSL prior to adding it to Cloudflare?
No, new site completley

What are the steps to reproduce the error:

  1. just loading up website

Have you tried from another browser and/or incognito mode?

Please attach a screenshot of the error:
Cant post screenshots, says backtick examplee, I used prefromatting option but still cant upload anything



Nope, this is not the domain you checked against.
You are mixing things up.

You say this is your domain: caitsith.com
But you show analyses from this domain: caitsith.one

Could it be, that you use the SSL Cert from caitsith.com for caitsith.one?

If their videos do not work, please ask them for support - as Cloudflare does not support 3rd party tutorials. If you follow official Cloudflare documentation, this is the right place to ask.

NPM + Cloudflare never showed a 526 for me so let’s assume the problem is on your side.
Two things come to my mind:

  1. wrong IP (specially if you use DynDNS)
  2. wrong SSL Cert

I am sorry,

I only have 1 domain.

I have no idea why I wrote the com one, i only have the dot one

The wrong cert is showing on the website compared to what I setup on Cloudflare/nginx
Do I need to contact my domain provider?
Thanks for all the input! I will follow Cloudflare, would you happen to have a link please?

There is no direct tutorial for running NPM behind Cloudflare, but reading the docs or searching for your error (526) you will get a general understanding of Cloudflare.

The error occurs when you have SSL mode in Full (Strict) (which is the most secure mode) and do not offer:

  1. a publicly valid SSL Cert
  2. a Cloudflare Origin Cert for this domain.

So please double check the SSL Cert you have implemented on your Nginx Proxy Manager
Generally speaking, please also make sure, that the Nginx Proxy Manager actually is the one answering on port :443 on your machine (Unraid) and not any other service - you can do so by logging into the container itself and watch it’s log files with tail -f while you send some requests to it.

Please note that there is very likely no Problem with Cloudflare at all - but very likely some misconfigurations on your side

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.