How to use a Dedicated certificate on a parent domain and sub domain?

Hello

I have a Cloudflare Dedicated certificate cert on my parent domain (https://fearby.com) but I want to use it on a sub domain (separate Server with Nextcloud) as https://stuff.fearby.com. DNS is setup and replicated.

I tried setting up the cert on the sub domain but I get HTTP handshake error and server is down. I use NGINX and have the same config (protocols and ciphers at the parent domain). I have Always use HTTPS turned on at Cloudflare and Secure headers to force https on the parent domain.

Q1) Is there a guide for how to setup a Dedicated certificate on a parent domain and a sub domain?

Q2) Do I need to replace my Dedicated certificate with a Dedicated SSL with Custom Host name and add the parent domain sub domain (I thought *.fearby.com was enough to cover sub domains)?

Replies may be blogged to help others (https://fearby.com/all/)

Thanks In Advance

Cloudflare has a valid certificate for that subdomain, but the server does not have a valid certificate.

Thanks , I changed “Full (Script)” to “Full” at cloudflare and https://fearby.com and https://stuff.fearby.com loads

I will re-read tonight and see how I can configure https://stuff.fearby.com to turn “Full (Strict)” back on.

Whats if the official way to add the certificates to NGINX/Linux?

1 Like

From this Support Article: https://support.cloudflare.com/hc/en-us/articles/115000479507-Managing-Cloudflare-Origin-CA-certificates

https://www.digicert.com/kb/csr-ssl-installation/nginx-openssl.htm#ssl_certificate_install

This topic was automatically closed after 30 days. New replies are no longer allowed.