HTTPS on a local server


#1

I installed Cloudflare’s certificate for mydomain.com on a local Apache server with no Internet access, so that all traffic get redirected to https://mydomain.com. Everything works fine server-side but Chrome keeps showing the alert “Server’s certificate is not trusted”. I there a way to fix this?

The reason I want to make https work on the local server is to enable a feautures that Chrome restricts to secure sites (e.g., use of VIDEO tag).


#2

It’s basically a self-signed certificate that only Cloudflare trusts. You can try adding their Origin CA to your local system: