Hi,
I’m trying to install Discourse from the official github page, on Ubuntu 22.04 Server LTS - from the latest AWS AMI. The networking is configured, with FQDNS attached the host and elastic IP.
Everything deploys correctly, and I can connect to the port 80 nginx instance. But, I can’t connect over port 443, and the repeating error in the nginx error.log is as follows:
> 2023/10/09 08:41:12 [emerg] 9342#9342: cannot load certificate "/shared/ssl/discourse.xxxx.com.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
Further investigation shows that the .cer file is zero bytes in length, located in
./shared/standalone/ssl/discourse.XXXX.com.cer
log file container: app:$/var/log/nginx
Has anyone run into this issue before? Doesn’t look to be permissions related, as everything is being executed under sudo credentials.
Genuinely baffled on this one.