History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-348
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Trevan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Java Proxy and "invalid" certificates

Created: 18/Sep/07 09:29 AM   Updated: 15/Jan/08 08:35 PM
Component/s: SSL Support
Affects Version/s: 0.9.2
Fix Version/s: 1.0

Original Estimate: 1h Remaining Estimate: 1h Time Spent: Unknown
Environment:
Local Box: Windows XP
Remote Server: CentOs 4


 Description  « Hide
On our test server, we use the same certificate that is used live. This means that the domain name on the certificate is incorrect. Also, when connecting to the server, it responds back with a different hostname then the one you connect with (it appends the port number on the end). So each time I tried to do a test, I would get a java exception, saying it couldn't create the proxy.

To get around that, I used information from these two sites:

http://forum.java.sun.com/thread.jspa?threadID=521779&tstart=0
http://javaswamy.blogspot.com/2004/12/jsse-how-to-ignore-certificateexceptio.html

And modified the ProxyHandler.java file

It would be really nice to have these changes checked into the code repository.

 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 15/Jan/08 08:35 PM
Fixed in revision 2117. This created bug SRC-407, however.