Here is my situation. I have a discourse setup that is only privately accessible via my Universitie’s VPN. I wanted to know if https with let’s encrypt is going to work, or do i have to go about it a different way. I tried following the ./discouse-setup install method and entered an email to use for let’s encrpt, but the cert files weren’t created properly:
# ls -l /var/discourse/shared/standalone/ssl total 4 -rw-r--r-- 1 root root 0 Mar 26 17:23 perform-disco.concordia.ca.cer -rw------- 1 root root 3247 Mar 26 17:23 perform-disco.concordia.ca.key
If i look at ./launcher logs app i see:
nginx: [emerg] PEM_read_bio_X509_AUX("/shared/ssl/perform-disco.concordia.ca.cer") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
Any help would be greatly appreciated!