I use Nginx Reverse Proxy docker container with setting to point to another container at 172.17.0.3:8080
It works fine locally,
Cloudflare is setup as usual to point to the IP, not enforce SSL (just for tests), 80 and 443 are open and I can reach the machine using the subdomain.
But when reaching the subdomain, I get an unusual error:
Your connection is not private ... NET::ERR_CERT_AUTHORITY_INVALID Subject: CloudFlare Origin Certificate Issuer: CloudFlare, Inc. Expires on: Apr 13, 2035 Current date: Jul 21, 2020 PEM encoded chain: -----BEGIN CERTIFICATE----- MI..
It sees the certificate but claims it’s invalid.
I agree the cert is not on the final server but on the reverse proxy server, but that’s the goal of it right?
And frankly, I don’t know how to add a cert to a Tomcat server on a container.