Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

jueves, 23 de julio de 2015

SSLHandshakeException for captcha v2

getting SSL handshake exception while contacting google server for verifying response. 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             URL verifyURL = new URL(null , "http://bit.ly/11H4Jer", new sun.net.www.protocol.https.Handler());             HttpsURLConnection connection = (HttpsURLConnection) verifyURL.openConnection();             connection.setDoOutput(true);             connection.setDoInput(true);             connection.setInstanceFollowRedirects(true);             connection.setUseCaches(false);             connection.setReadTimeout(readTimeout_);             connection.setConnectTimeout(connectionTimeout_);             connection.setRequestMethod("POST");             connection.setRequestProperty("Content-Type",                     "application/x-www-form-urlencoded; charset=US-ASCII");             connection.setRequestProperty("Content-Length",                     Integer.toString(post.length));                          // do the post             OutputStream out = connection.getOutputStream();  // <-- This line throws exception.              out.write(post);             out.flush(); any suggetions guys ? -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

No hay comentarios:

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn