HTMLUnit with FIddler and SSL

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

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

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

Hello!

0


source to share


1 answer


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



0


source







All Articles