i have an app that connects to some public servers with valid ssl certificates.
The strange thing is that my app and the https connections works fine with the
sfos emulator and my Sony XA2 Plus device. However, the same application deployed
on my Jolla 1 device always runs into the SSL Handshake error.
I have the same SFOS Version (3.3.0.16) installed on the Jolla 1 and my XA2 Plus device.
Any ideas what could be the problem for this different behaviour?
Any hints how to properly fix or debug the problem?
Ok. Found the problem. The system time was completely wrong (of my Jolla1 Test device) - thus the certificate validation failed. Fixing the system time fixed my problem.
Iām wondering if a clock offset might explain why some of my Jolla browser tabs intermittently report as āconnection not secureā⦠(Thank you AndyWuest / I will check for system time.)
I didnāt know if the system clock was independent from the user settings clock; it seems itās the same; thatās the easy part, yes.
I imagine if I checked some log it might be verbose enough to explain exactly why the errors occurred. I have updated the clock now though; will try to remember to report back after a āburn-inā period.
(Iām used to having certain clocks 5 min. offset out of habit; if thatās incompatible with SFOS Iāll have to change my habit. NBD I guess.)
@AndyWuest I have the same problem on my Jolla 1 without SIM card. I enabled automatic update in the settings, but it set time from Finland and not from Switzerland.
First I tried with a newer ca-certificates package
# On my Xperia 10 II running SailfishOS 4.4.0.58
devel-su pkcon download /tmp ca-certificates
# Copied to my Jolla 1 and then
devel-su pkcon install-local /tmp/ca-certificates-XXXX.Y.ZZ-ABC.jolla.noarch.rpm
pkcon search ca-certificate
[ā¦]
Installed ca-certificates-2021.2.50-1.6.1.jolla.noarch (installed) The Mozilla CA root certificate bundle
Available ca-certificates-2018.2.26-1.4.1.jolla.noarch (jolla) The Mozilla CA root certificate bundle