From: Ahmed A. <asa...@ya...> - 2016-10-12 18:31:21
|
Hi Vasu, The below works with Java 1.8.0_102. WebClient webClient=new WebClient(); HtmlPage xmlPage= webClient.getPage("https://www.careerbuilder.com/Share/LogIn.aspx?"); Ahmed From: Vasudevan Comandur <vco...@gm...> To: "htm...@li..." <htm...@li...> Sent: Wednesday, October 12, 2016 7:39 PM Subject: [Htmlunit-user] SSL peer not authenticated error on https thru HTMLUnit All, I am using HTMLUnit to access some sites. I am getting the error SSL peer not authenticated. I have the default cacert file that comes with java. When I start the URL "https://www.careerbuilder.com/Share/LogIn.aspx?" with webclient, I am getting peer not authenticated exception. I have disabled javascript in webclient. How can I find out to which site HTMLUnit is connecting to that causes the error. The real browser is displaying the login screen when I access the site through the above URL. Any pointers to solve this issue is appreciated. Thanks in advance. Regards Vasu |