WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
This is an old patch from Daniel Gredler that we never integrated (I
don't remember the reason) that allows to accept insecure certificates.
> Ahmed Ashour wrote:
>> Quick start of Tomcat URL is working fine.It did not throw any security
>> exception.Our URL is confidential.Without giving uRL Can you find out the
>> root cause?
>> I dont know.How it is working for some of the code in htmlunit and
>> how it is not working for some of the code in our application?But All code
>> is working for For google.com and other URL.If anybody knows Please let me
>> know ASAP?
>> Thanks a Lot.
>> I am able to reproduce the exact exeption by following the 'Quick Start'
>> of http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html.
>> However, all code-snippets fail (which is expected, becuase the
>> self-generated certificate is not trusted by a CA).
>> Could you provide your URL so we can investigate further.
>> Many thanks.
>> Ahmed Ashour
>> ----- Original Message ----
>> From: Lalitha <email@example.com>
>> To: firstname.lastname@example.org
>> Sent: Saturday, March 24, 2007 10:58:57 AM
>> Subject: Re: [Htmlunit-user] Security Certification error in htmlunit
>> Thanks for your fast reply.
>> I tried the code what you given.It is working fine for normal application
>> and our application.
>> I tried the following code :
>> WebRequestSettings wrq=new WebRequestSettings(Our url);
>> WebResponse wr=webClient.loadWebResponse(wrq);
>> System.out.println( wr.getStatusCode());
>> this code is also working fine for for normal and our application.It shows
>> the output is 200.
>> when i use the following code it throws security exception
>> HtmlPage page = (HtmlPage)webClient.getPage(url);
>> Can you guess What is the root cause for this?
>> Bored stiff? Loosen up...
>> Download and play hundreds of games for free on Yahoo! Games.
>> http://games.yahoo.com/games/front >> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________
>> Htmlunit-user mailing list
>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>