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.

SAHI Controler not wotking on HTTPS sites

gbpathergbpather Members
edited January 2012 in Sahi - Open Source
Hi,

Firstly i do realise that there are already threads on this but i have read them and non seems to work for me.
I am testing a website HTTP, and add items to my cart and when i go to checout, it is a 5 step checkout the address moves to HTTPS.
The SAHI controller stops recording once it moves to HTTPS
I have added the Proxy for SSL sites and still does not work.

This is the error in the SAHI cmd controller

Jan 18, 2012 11:07:39 AM net.sf.sahi.RemoteRequestProcessor <clinit>
WARNING: java.security.UnrecoverableKeyException: Password must not be null
at sun.security.provider.JavaKeyStore.engineGetKey(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(Unknown Source)
at java.security.KeyStore.getKey(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(Unknown Sou
rce)
at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit
(Unknown Source)
at javax.net.ssl.KeyManagerFactory.init(Unknown Source)
at net.sf.sahi.ssl.SSLHelper.getKeyManagerFactory(SSLHelper.java:107)
at net.sf.sahi.ssl.SSLHelper.getKeyManagerFactoryForRemoteFetch(SSLHelpe
r.java:88)
at net.sf.sahi.RemoteRequestProcessor.<clinit>(RemoteRequestProcessor.ja
va:67)
at net.sf.sahi.ProxyProcessor.<init>(ProxyProcessor.java:55)
at net.sf.sahi.Proxy.startProxy(Proxy.java:173)
at net.sf.sahi.Proxy.start(Proxy.java:117)
at net.sf.sahi.Proxy.main(Proxy.java:89)

Any Ideas why?
What passowrd is this and now can i set it?

I have this in the sahi.properties files:

# Uncomment the following lines to use a client certificate.
# If there is no password, do not uncomment the password line.
# keystore type can be JKS, PKCS12 etc.
ssl.client.keystore.type=JKS
ssl.client.cert.path=certs/sahi_example_com
ssl.client.cert.password=sahipassword

And still does not work

Thanks

Comments

This discussion has been closed.