B4J Question OkHttp SSL Error

Timoune

Member
Hello,

I'm using OkHttp to connect on an apache webserver and I want to securize the connection with SSL
But when I'm calling the SSL url I have the following error message
B4X:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

I think it's because my web certificate is expired, if yes do you have a simple way to force OkHttp to accept this certificate ?

Regards
 
Top