18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Https/SSL sites do not work at Sahi Controler

RamonRamon Members
edited November -1 in Sahi - Open Source
Hi,

I have problems in working with Https/SSL sites at Sahi Controler.

What I did: An expample for yahoo sides:
- I created certificates by keytool for the domains, at the ..\certs-Directory
- One Example for the yahoo side (I have the same problem at another https):
- at the browser I invoked the "http.....yahoo.com"
the sahi controler works fine!
- after click at the "Mail-Button", for "https.....mail.yahoo.com"
at the sahi controler mouseover is not possible! Also the sahi controler don't come up!
- the sahi console shows no error or any additional information.

My settings:
- working with Mozilla Firefox/3.5.3 on Windows vista and java 1.6.0_07 (Sun)
- At the Firefox-Browser: I created a Certificate Exeption for the https-side, the created certificate shows me (organisation: sahi and so on...).
- Proxy-Settings: Have for "No Proxy for:" no porxy. For maual Proxy http and https localhost:9999
- also I deleted the firefox-cache before

Did I frogot something?
Who can help me out on what to do for working at sahi with SSL?

Many Thanks.

Ramon

Comments

  • I could resolve the problem now, invoking the sahi SSL Manager Side "...sahi.example.com:9999/_s_/dyn/SSLManager".

    But before I had no Access to the sahi SSLManager.

    Sometimes at the Console I got the Java-Execptions:
    java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
    at java.security.KeyStore.load(Unknown Source)
    at net.sf.sahi.ssl.SSLHelper.getKeyManagerFactory(SSLHelper.java:104)
    at net.sf.sahi.ssl.SSLHelper.createSocketFactory(SSLHelper.java:69)
    at net.sf.sahi.ssl.SSLHelper.getSSLClientSocketFactory(SSLHelper.java:58
    )
    at net.sf.sahi.ssl.SSLHelper.convertToSecureSocket(SSLHelper.java:189)
    at net.sf.sahi.ssl.SSLHelper.convertToSecureServerSocket(SSLHelper.java:
    198)
    at net.sf.sahi.ProxyProcessor.processConnect(ProxyProcessor.java:146)
    at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:113)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.UnrecoverableKeyException: Password verification failed

    ... 12 more


    What does this Exceptions mean?

    Thanks Ramon.
  • Sahi initializes the certificates file for the HTTPS sites using KeyStore class along with password. For some of the HTTPS sites that you are using, the password sent to keystore is incorrect. so, KeyStore is unable to load the certification file with the incorrect password. Thats y, It is throwing IOException.

    Does sahi gives you any other problems due to this? . If yes then we need to figure it out what is going wrong.

    Thanks,
    Venky.
  • Hi Venky,

    Thanks for your helpful reply.
    Currently I have no Problems due this.
Sign In or Register to comment.