0

I configured HTMLUnit so it uses Fiddler as a proxy. But when Fiddler is capturing traffic and I browse a site which has ssl(https) I get the following error in Java

"javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated"

Is there anyway fix around this? I want to see all SSL traffic in Fiddler.

Regards!

Arya
  • 8,473
  • 27
  • 105
  • 175

1 Answers1

0

You need to configure Java to trust Fiddler's root certificate, which you can export from Fiddler using the Tools > Fiddler Options > HTTPS > Export Root Certificate button.

EricLaw
  • 56,563
  • 7
  • 151
  • 196