INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Let's Encrypt PEM files not working within MC 23  (Read 2645 times)

res80

  • Recent member
  • *
  • Posts: 30
Let's Encrypt PEM files not working within MC 23
« on: March 09, 2018, 01:45:10 am »

Hi,

I recently upgraded to a MC 24 license and installed the latest MC23 build on my linux server.
The server has a seafile cloud behind nginx, including automated SSL-certificates by letsencrypt.
These certificates work perfectly for nginx and webmin.
However, MC 23 refuses to accept them and complains "The specified certificate could not be read, or the private key does not match".
Any ideas what's going wrong?

Thanks a lot,
Ruediger
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Let's Encrypt PEM files not working within MC 23
« Reply #1 on: March 14, 2018, 09:40:06 pm »

Are your certs and/or private keys encrypted at rest?  I had a similar issue, and that was the problem.
Logged

res80

  • Recent member
  • *
  • Posts: 30
Re: Let's Encrypt PEM files not working within MC 23
« Reply #2 on: March 17, 2018, 07:31:27 am »

Thanks for your reply.
I looked into it, but my files were not encrypted.
The solution was way easier. nginx was running as root, Media Center not.
And the certificate files were not accessible by normal user, so I changed the access rights to these files and now it is working.
Thanks,
Ruediger
Logged
Pages: [1]   Go Up