Hi,
I have an emby server running on an ubuntu 20.04 server with a letsencrypt ssl certificate. It runs for years without problems, but since the expiration of the R3 certificate my android devices can't connect anymore.
I used certbot to generate a new certificate with the following command:
sudo certbot certonly --standalone -d mydomain.com
then I converted the pem to pfx with this command:
sudo openssl pkcs12 -inkey /etc/letsencrypt/live/mydomain.com/privkey.pem -in /etc/letsencrypt/live/mydomain.com/fullchain.pem -export -out /var/lib/emby/ssl/emby.pfx
sudo service emby restart
If I test my ssl with this link: SSL Checker
it shows the Certificate #2 is the expired one.
Folks with older apple mac devices (Yosemite & El Captan) are getting errors. The correct recourse is to update their systems to install the updated root certificates.
For clarification - this is the root certificate on the client operating system, not the server. Updating let's encrypt certificate on the server won't fix it.
Not that I can see.
But you haven't shown the FQDN, so there is no real way to confirm/deny your settings.
[other than the snippet shown from SSL Checker]
There are other, more detailed, tools that can be used.
Or you could show more than just the one "error line" from their report.
It may be difficult to understand, but pointing to the error only doesn't usually tell us enough about how one got there.
So my command is wrong? What shoud I type?
sudo openssl pkcs12 -in /etc/letsencrypt/live/mydomain.com/fullchain.pem -inkey /etc/letsencrypt/live/mydomain.com/privkey.pem -export -out /var/lib/emby/ssl/emby.pfx
is that correct?
I'm not sure if it'll make any difference, but that's what @Ted meant I think indeed.
The same files will be included in the PFX, but probably just in a different order.
I also saw that the pkcs12 function has a -chain option, so maybe you need to feed it cert.pem using -in and feed it chain.pem using -chain. No idea if that makes the PFX any different, but maybe Emby is very picky about how the chain is presented to it..
Probably worth trying both..
Also, it's very weird: if the PFX does not contain the already expired R3-signed-by -DST Root CA X3, where did it come from? Does Emby have it cached somewhere? It didn't come from the PFX you've shown..
@TuXFire
I'm more than happy to walk through all that to confirm it and help figure out where the problem is with you.
In order for me to do that, I would need:
the FQDN that is serving the .pem/.pfx files
a picture of the error message (pictures paint a thousand words)
any relevant details about the client that is having trouble (the client from the picture)
@rg305
In fact I'm administrating 2 servers with the same configuration (ubuntu 20.04 server running emby, with a let's encrypt certificate) facing the same issue.
It worked flawlessly for years but since the expiration of the certificate on 09/29 I can't access them anymore from my Nvidia Shield's emby app. (I can access localy with local IP/http, but not from outside with FQDN https. It says that the server is unreachable and is probably down but doesnt give more details. I installed a (very basic) browser on the Shield and tested the url, but it said "404" in full screen and nothing more.
I can access via web browser from a PC or via the Android Smartphone app without problem.