Jump to content

Certificate error when connecting to https://myserver:8920


Guest Arg
Go to solution Solved by Tur0k,

Recommended Posts

Hi,

 

When i try to connect to https://myserver:8920 I get a certificate error (with IE 11, Edge, Firefox at least and prob all the browsers)

 

But I'm using a valid Let's Encrypt certificate.For instance, when I connect to my personal website with the same browser I can see that my certificate is recognized and valid (green lock).

Link to comment
Share on other sites

  • Solution

Have you added the certificate and password to the "custom certificate path" and "custom certificate password" fields in: Server dashboard - advanced.

 

 

Sent from my iPhone using Tapatalk

  • Like 1
Link to comment
Share on other sites

OK, Letsencrypt doesn't give any .pfx so I had to generate it :

 

su root
cd /etc/letsencrypt/live/myserver
openssl pkcs12 -export -out "certificate.pfx" -inkey "privkey.pem" -in "cert.pem" -certfile chain.pem
cp certificate.pfx /home/emby
chown emby:emby
 

Then I added /home/emby/certificate.pfx to "custom certificate path" and the .pfx password to "custom certificate password"

It forced me to set an external domain ? What for ? I juste wrote myserver.net

 

Then I restarted the server and logged in but I still get an unencrypted connection...

Link to comment
Share on other sites

But I guess I will have to do this manually every two months, every time my certificate gets renewed ... Not very practical

 

I can't really script it because it asks for a password to encrypt the .pfx

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...