18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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
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
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
This discussion has been closed.
Comments
Do not make any changes in sahi.properties.
Could you please check if you have accepted SSL certificates for https site.
If not please follow the below URLs:
For IE : http://www.youtube.com/watch?v=zPZH5L-jkRA
For Firefox: http://www.youtube.com/watch?v=mqHymw9j-Ng
Also, let me know what version of Java are you using?
Regards
Sumitra
I cannot access the youtube video at work as it is blocked.
I have accepted the certificate, but the sahi controller does not open, the page loads fine
I am using jdk1.6.0_21, jre1.6.0_14
Please advise
Kindly have a look at : http://sahi.co.in/w/https-ssl
Check if this solves your issue.
Regards
Sumitra
This solved the issue, thanks you so much