Re: Cookie cound not be set
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <652366DEEF97A3438EC2F4669BD66BA54061D6@msgswbmnmsp31.wellsfargo.com> |
Does your server have a genuine certificate or a self-certified certificate? If it's genuine, perhaps your test machine can't reach the certificate authority. If it's self-certified, you need to tell the JVM to accept it. Sun provides a program 'keytool' to allow you to manipulate certificates. (see http://java.sun.com/j2se/1.4/docs/tooldocs/win32/keytool.html) Use that to import the certificate into %JAVA_HOME%\jre\lib\security\cacerts. - George http://www.idiacomputing.com/ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mohiddin Shaik Sent: Friday, August 11, 2006 5:02 AM To: Discussion of use and development of HttpUnit Subject: Re: [Httpunit-develop] Cookie cound not be set Hi Guys Yes George. I rectified this problems. I am getting below error.. . Exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.Validato rException: PKIX path building failed: sun.security.provider.certpath.SunCertPat hBuilderException: unable to find valid certification path to requested target With Regards Mohi On 8/10/06, [email protected] <[email protected] > wrote: Neither of those errors are related to HTTPS. Do you have a DNS server (or hosts file) that provides an IP address for the domain dmg-sae-5.india ? -----Original Message----- From: [email protected] [mailto:[email protected] ] On Behalf Of Mohiddin Shaik Sent: Thursday, August 10, 2006 11:01 AM To: Graeme J Sweeney; Discussion of use and development of HttpUnit Subject: Re: [Httpunit-develop] Cookie cound not be set Hi Guys, I am also facing some problem while accessing https protocal. Is httpunit supports https protocal sites? WebConversation wc = new WebConversation(); // Obtain the main page on the meterware web site WebRequest request = new GetMethodWebRequest( " https://dmg-sae-5.india:6789 <https://dmg-sae-5.india:6789/> "); WebResponse response = wc.getResponse( request ); I am getting these errors .. .Rhino classes (js.jar) not found - Javascript disabled Exception: java.net.UnknownHostException: dmg-sae-5.india ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop