LetsEncrypt Certificates

Hi All,

Question about the files generated for LetsEncrypt. I’ve got links to four .pem files in my /live folder:

cert.pem
chain.pem
fullchain.pem
privkey.pem

I’ve edited MineOS.conf as follows:

ssl_private_key = ‘/etc/letsencrypt/live/<JIC it matters, redacted>/privkey.pem’
ssl_certificate = ‘/etc/letsencrypt/live//cert.pem’
ssl_cert_chain = ‘/etc/letsencrypt/live//chain.pem’

I also tried the fullchain.pem file as the ssl_cert_chain with the same results.

The webui is not tossing any errors to /var/logs/mineos.log upon restart.

I’m starting and stopping with “sudo service mineos” start, stop, or status.

What am I missing please?

Thanks,
Jerry
Echo4golf

A quick look at webui.js reveals that the mineos.conf file is supposed to be in /etc. I completely forgot about that and was editing the wrong copy…

So:

  • N.B. Make sure you’re editing the correct .conf… /etc/mineos.conf (Not /usr/games/minecraft/mineos.conf.)
  • ssl_private key is correct
  • ssl_certificate is /etc/…/fullchain.pem
  • ssl_cert_chain is /etc/…/chain.pem

Works like a charm!
Jerry
Echo4Golf

2 Likes