Issue installing on subdomain

hello,

I just tried a new install of discourse on digital ocean. I’m trying to use a subdomain and I believe lestencrypt is putting errors out.

[emerg] 5618#5618: PEM_read_bio_X509_AUX("/shared/ssl/ask.sysadminonlinux.org.cer") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
DISCOURSE_HOSTNAME: ask.sysadminonlinux.org

Hmm.

$ dig +short ask.sysadminonlinux.org
104.131.55.13

Is your droplet 104.131.55.13?

If not, that’s the problem. If it is, then, well, maybe it’s something else.

yes, that is the correct IP.

Does the /var/discourse/shared/standalone/ssl/ask.sysadminonlinux.org.cer file looks good?

Don’t clutter this topic. Follow the troubleshooting #howto topic which has instructions. Setting up HTTPS support with Let's Encrypt

1 Like