Friday, December 21, 2012

Where to Find cybervillainsCA.cer in Selenium

In the WebTestingExplorer documentation, we instruction users to create a Firefox profile (just for testing!!!) that trusts the cybervillainsCA.cer certificate normally bundled with Selenium distributions. The main reason we do this is to make it possible to inspect HTTPS traffic in a proxy and check for bugs in real-time as we explore the web application.

I've had several questions about how, exactly, to find cybervillainsCA.cer. The search results on this topic are unimpressive enough that I decided to write this quick blog post, hopefully attract some search engine love, and clear this up for everybody. So here you go:

1. Download selenium-server-standalone-x.xx.x.jar (as of this writing, at version 2.28.0).
2. Execute the following commands from a terminal from wherever you saved it:
  1. mkdir selenium
  2. cp selenium-server-standalone-*.jar selenium
  3. cd selenium
  4. jar xvf selenium-server-standalone-*.jar
  5. ls sslSupport/cybervillains.cer
After step 4, you may get an error from jar. Ignore it. After step 5, you have verified that the file is there, and you can do whatever you need to with it. Enjoy!

4 comments:

Jacob Barlow said...

I have used Selenium 2.0 that its own SSL certification called as cybervillainsCA.cer included into the hosting server. It uses that SSL certification to proxy/intercept the SSL demands to the Program Under Analyze.

jorg gray said...

n the WebTestingExplorer documentation, we instruction users to create a Firefox profile (just for testing!!!) that trusts the cybervillainsCA.cer certificate normally bundled with Selenium distributions. Employee Time Tracking Software

Jessi Gianni said...

Thanks for this information. I love cybervillians. Lots of options. Jessi we buy junk cars orlando

Hoàng Minh said...

Có làn da trắng là mong ước của mọi cô gái , sản phẩm thuoc uong trang da ivory caps giúp thuốc uống trắng da toàn thân ngoài ra bạn cũng có thể sử dụng các loại kem chống nắng tốt. Ngoài ra nếu bạn muốn làn da luôn tươi trẻ thì nên dùng my pham sakura như kem chong lao hoa sakura giúp làn da luôn trẻ đẹp xóa các nếp nhăn. Cách tăng cường sinh lý nam giới an toàn và hiệu quả bằng herba vixmen , vậy thuoc herba vixmen gia bao nhieu , có an toàn không và mua ở đâu sẽ được cho biết sau đây.