[JWebUnit-development] [ jwebunit-Patches-3415400 ] Patch to allow SSL validation to be turned off
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2012-11-27 15:38:33
|
Patches item #3415400, was opened at 2011-09-29 08:50 Message generated for change (Comment added) made by henryju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3415400&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: HtmlUnit >Group: Release 3.2 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Alex (xelah1) >Assigned to: Julien HENRY (henryju) Summary: Patch to allow SSL validation to be turned off Initial Comment: Test servers often have self-signed SSL certificates, but JWebUnit refuses to talk to them. My code to register a EasySSLProtocolSocketFactory() stopped working with release 3.0, so I patched JWebUnit to provide a way to turn off certificate validation. ---------------------------------------------------------------------- >Comment By: Julien HENRY (henryju) Date: 2012-11-27 07:38 Message: I prefer to always set useInsecureSSL to true as JWebUnit is designed for testing purpose and most of the time testing environments will have self-signed certificates. In addition WebDriver try to do the same when possible so it will be better to do the same: http://code.google.com/p/selenium/wiki/UntrustedSSLCertificates ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3415400&group_id=61302 |