Pages

Sunday, 18 December 2011

How to Supress/accept SSL certificates using Selenium

Just follow 2 steps to make selenium accept the SSL certificated
1. Start your Selenium RC server using the following command
java -jar selenium-server.jar -trustAllSSLCertificates

For Firefox
2. use firefoxproxy instead of *firefox

For Internet Explorer
2. use iexploreproxy instead of *iexplore

An extra step is required for proxying SSL content with Internet Explorer. Selenium bundles a special certification authority (CA) certificate that is used to trust all the other SSL certificates.

Installing the CyberVillains Certificate on Windows

The CyberVillains certificate is bundled in the most recent Selenium RC releases in SSLSupport folder. If you download the distribution and extract it, you should be able to get going starting with Figure 1. In the explorer address bar in Figure 1 you can see where to find the certificate.








                                          Figure 1 

Double-click the CyberVillains certificate in the selenium server distribution(Refer above Image)

Click on Install Certificate Button

Click on Next Button

Select the radio button "Place all certificates in the following store"

Select Trusted Root CertificationAuthorities folder

Click on Finish button

Accept Security warning

No comments:

Post a Comment