lundi 4 juillet 2016

Java okhttp issues in redirect count and domain cert

I have three issues when I use okhttp to get content from these web sites:

  1. http://www.wp.com has error with: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  2. http://www.macys.com has error with: java.net.ProtocolException: Too many follow-up requests: 21

  3. http://www.vk.me has error with: javax.net.ssl.SSLPeerUnverifiedException: Hostname www.vk.me not verified: certificate: sha256/Sx09coMBYByu6GDlS0E6daYLDVLydbmJjFNkTANfSg4= DN: CN=.vk.com, OU=Domain Control Validated subjectAltNames: [.vk.com, vk.com]

UPDATED at 2016/06/12:

  1. http://www.wordpress.com has error with: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

How to fix above issues 1-4? thanks all!

Aucun commentaire:

Enregistrer un commentaire