Kingpinyolo 1 Posted September 26, 2022 Posted September 26, 2022 (edited) Android server latest beta and stable version same issue. Ssl doesn't seem to be working logs give error and also in ssl certificate set up both with password and without password did not make a difference. Might be an issue also with the only secure connection mode only as well. What I was able to find in logs System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.Security.Cryptography.CryptographicException: `MonoBtlsPkcs12.Import` failed. at Mono.Btls.MonoBtlsObject.CheckError System.Security.Cryptography.CryptographicException: `MonoBtlsPkcs12.Import` failed. Source: System embyserver.txt Edited September 26, 2022 by Kingpinyolo
Luke 42077 Posted September 27, 2022 Posted September 27, 2022 Hi, are you sure this is the right log file? I don't see that particular error. Thanks.
Kingpinyolo 1 Posted September 28, 2022 Author Posted September 28, 2022 Sorry about that this should be the right one I just checked Error Report *** Version: 4.8.0.8 Command line: /data/app/com.emby.embyserver-Us3lza8DqD-bG6ByhatJkQ==/base.apk Operating system: Android 9 (REL) SDK:P BuildId:PS7321 PPR1.180610.009 Incremental:0021274106500 Patch-Level: 2018-10-05 Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0 OS/Process: Arm/Arm Runtime: mscorlib.dll Processor count: 4 Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files Application path: /data/user/0/com.emby.embyserver Fingerprint: Amazon/onyx/onyx:7.0/PS7321/2330N:user/amz-p,release-keys Model: KFONWI - Amazon/Amazon Hardware: onyx/onyx/mt8168/onyx SupportedAbis: armeabi-v7a, armeabi System.Security.Cryptography.CryptographicException: System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.Security.Cryptography.CryptographicException: `MonoBtlsPkcs12.Import` failed. at Mono.Btls.MonoBtlsObject.CheckError embyserver (1).txt
Kingpinyolo 1 Posted September 28, 2022 Author Posted September 28, 2022 I used OpenSSL windows to convert the one I got from my ASUS router to pfx.
Luke 42077 Posted October 3, 2022 Posted October 3, 2022 HI, are you still running into this with the latest build?
Kingpinyolo 1 Posted October 3, 2022 Author Posted October 3, 2022 Are you referring to the beta ? I’m on the latest beta still getting the error. Is there a better way to convert the cert file to pfx? Maybe I can retry that part
Carlo 4560 Posted October 3, 2022 Posted October 3, 2022 Hi, Try the converter here: https://www.sslshopper.com/ssl-converter.html
Kingpinyolo 1 Posted October 4, 2022 Author Posted October 4, 2022 Thank you all I finally have it working. Fixed by converting certificate using sslhopper (mentioned above) thank you !! but I had to go through setting several times as making too many changes at once didn’t seem to register like requiring secured connection and also selecting the pfx file and putting in the password I had to do each of those steps with a separate reboot of the server to make sure the actions were taking place properly. also had to update port forwarding as both the https internal and external ports had to match before being able to access. I also have vpn so I did select the the server to be whitelisted to make sure they didn’t cause the error. 1
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