Hi all,
I need to use the proxy injection mode, the *chrome and *iehta modes don't work for me. I have read many suggestions from earlier discussions, but they all failed for me.
I have added the certificate to the certificate repositories of both IE and FF.
The error I get with IE is the following:
The security certificate has expired or is not yet valid
If I examine the certificate, the certificate for the AUT is ok. However, the root cerficate from Cybervillians is indeed expired.
The error I get with FF is the following:
Website Certified by an Unknown Authority.,
Unable to verify the identity of webshop-qa.dsm.com as a trustued site.
As soon as a manually click away the windows, the test will continue and behave as expected.
I also tried some of the latest snapshot builds, but those were too unstable to use. I also tried to switch off warnings in the IE settings or in about:preferences in FF. Both without success. I have also tried to set a special Firefox profile, as described in one of the previous postings. This also failed.
I want to get rid of the certificate warning windows. Any help appreciated.
cheers,
Richard.
for firefox, have you disabled all messages under Preferences => Security => Warning Messages => Settings ?
for internet explorer, installing the certificates did nothing for me, but upgrading to service pack 3 got rid of all certificate notices for IE6 and IE7.
What version of selenium are you running? You may want to try the nighly build. When I downloaded any of the other versions the certificate was expired, but the nightly build has a new cert that isn't expired.
-Darren
you can get the latest certification from the 1.0 snapshot. if you are afraid of the stability, you just fetch the certification from the selenium-server.jar.
all you have to do is:
1. download the selenium rc 1.0 snapshot
2. unpack the zip file
3. get selenium-server.jar package, and unpack it
4. copy the cybervillainsCA.cer from sslSupport folder
5. unpack your selenium-server.jar package, replace the old cybervillainsCA.cer with the new one
6. compress the package.
btw, you also need to re-import the new certification into IE
In the mean time I implemented a workaround as suggested on this forum with AutoIt:
This is the script I used:
Do
;; firefox
if (WinActivate("Website Certified by an Unknown Authority")) Then
Send("")
EndIf
;; IE
if (WinActivate("Security Alert")) Then
Send("Y")
EndIf
Until 0 = 1
The solution suggested by gim_h alsol works fine. Does someone know if there is a way to prevent the certificate from getting over its validity period?
Thanks for your help!
Richard