hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robson Roberto Souza Peixoto <robsonpeix...@gmail.com>
Subject Trust all certificates
Date Fri, 08 Apr 2016 20:16:16 GMT
Hi guys,

I'm using the HC to crawler a lot of sites =D. It's working like a charm. I
really in love with HC.

But I'm getting the error `javax.net.ssl.SSLHandshakeException: Received
fatal alert: handshake_failure` when I try to access a page with a invalid
Certificate.

I googled a lot and tried all solutions, but no one worked.
Here a gist with my last try:
https://gist.github.com/robsonpeixoto/07c0409e20a1332c586585fcd1e3db25

Are there a easy solution to trust all certificates of all hosts with HC?

Thanks
-- 
Robson Roberto Souza Peixoto
Robinho
Master in Computer Science, University of Campinas
IRC: robsonpeixoto
Twitter: http://twitter.com/robinhopeixoto
github: https://github.com/robsonpeixoto

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message