Today I see use okhttp to call the URL get this errors: connectjavax.net.ssl.SSLHandshakeException: Chain validation failed
But there is no problem accessing it using a browser.
After a long time of troubleshooting we found reason:because the SSL ocsp stapling response does not match the certificate.
okhttp should run the same as browser to ignore invalid ocsp stapling response instead SSLHandshakeException.
Hi guys,
Today I see use okhttp to call the URL get this errors: connectjavax.net.ssl.SSLHandshakeException: Chain validation failed But there is no problem accessing it using a browser. After a long time of troubleshooting we found reason:because the SSL ocsp stapling response does not match the certificate.
okhttp should run the same as browser to ignore invalid ocsp stapling response instead SSLHandshakeException.
Thank you