Jump to content

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


Go to solution Solved by Tur0k,

Recommended Posts

Posted

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).

Posted

Does the <myserver> match the domain your certificate is tied to?

 

 

Sent from my iPhone using Tapatalk

Posted

In fact fact it says that there is no certificate.

Posted

Have you supplied a certificate under Emby Server Advanced settings?

  • Solution
Posted

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
Posted

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...

Posted

Ok now it works. It was prob the browser cache or something.

Posted

Ok now it works. It was prob the browser cache or something.

glad it is working.

Posted

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

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...