alfredudu 8 Posted October 17, 2024 Posted October 17, 2024 Hi, I've done all the configuration of the SSL port but the issue that most catches my attention that he's just listening to on the HTTP port on HTTPS doesn't... Where could I be wrong? I use a VPS in the Contabo.
Happy2Play 9780 Posted October 17, 2024 Posted October 17, 2024 Probably need to see the server log from startup to show the cert loading. Or to see if the server is throwing errors for your cert.
Luke 42077 Posted October 17, 2024 Posted October 17, 2024 Also what exactly have you done to setup SSL?
alfredudu 8 Posted October 17, 2024 Author Posted October 17, 2024 Just now, Luke said: E o que exatamente você fez para configurar o SSL? In case I'm going to send the prints here, but I use letsencrypt on the server, until I executed another command here that I saw, to convert the same, but nothing to listen to on the https port.
Happy2Play 9780 Posted October 17, 2024 Posted October 17, 2024 This would suggest errors in server log loading your certificate. But would need to see a server log from startup.
alfredudu 8 Posted October 17, 2024 Author Posted October 17, 2024 1 minute ago, Happy2Play said: This would suggest errors in server log loading your certificate. But would need to see a server log from startup. Where found this log to post here?
Happy2Play 9780 Posted October 17, 2024 Posted October 17, 2024 2 minutes ago, alfredudu said: Where found this log to post here? The linked topic above provides all that information.
alfredudu 8 Posted October 17, 2024 Author Posted October 17, 2024 14 minutes ago, Happy2Play said: O tópico vinculado acima fornece todas essas informações. Follow the full log OK. embyserver.txt
Solution Happy2Play 9780 Posted October 17, 2024 Solution Posted October 17, 2024 Dev or someone more familar with certs may have to comment but per the log cert is not loading. 024-10-17 12:46:12.409 Error App: Error loading cert from /etc/letsencrypt/live/vps.xxxxxxxxxxx.com.br/emby.pfx *** Error Report *** Version: 4.8.10.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.15.0-124-generic (buildd@lcy02-amd64-118) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #134-Ubun Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system Interop+Crypto+OpenSslCryptographicException: Interop+Crypto+OpenSslCryptographicException: error:10080002:BIO routines::system lib at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle) at Internal.Cryptography.Pal.OpenSslX509CertificateReader.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password) at Emby.Server.Implementations.ApplicationHost.GetCertificate(CertificateInfo info) Source: System.Security.Cryptography.X509Certificates TargetSite: Void CheckValidOpenSslHandle(System.Runtime.InteropServices.SafeHandle) 1
alfredudu 8 Posted October 17, 2024 Author Posted October 17, 2024 I got staff with this help of the log, it was a matter of permission and access to the certificate where only the root had access... I solved it here. Thank you very much! 1 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now