I tried the solution given by this article (thanks elliot) and it works well for me! Mostly
1. Create a firefox profile:
but. Starting your firefox -ProfileManager (or firefox -P) in cmd.exe (make sure that the path to the firefox installation folder is in the environment variable of your path, by default it should be created only when installing firefox) and create a new profile.
b. Select this new profile to go to the HTTPS URL and when prompted to accept a self-signed certificate.
from. Go to the Firefox profile directory.
e. Delete everything in the directory except the cert_override.txt and cert8.db files.
2. Launch your selenium RC server using this profile:
e.g. java -jar selenium-server.jar -firefoxProfileTemplate c: / Firefox_Profile
schrodinger's code
source share