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.
HTTPS site is not opening with sahi gateway
Hi,
While using sahi, the https sites are not opening. Its giving the error "certificate not found" even after creating it manually.
I am not able to fix this from the previous topics. please help to solve this.
Thanks
Ragu
While using sahi, the https sites are not opening. Its giving the error "certificate not found" even after creating it manually.
--------
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
--------
Sahi properties file = D:\RaguBackup on vinoj (Ast259)\Testing Tools\sahi latest
\sahi_20101103\sahi\config\sahi.properties
Sahi user properties file = D:\RaguBackup on vinoj (Ast259)\Testing Tools\sahi l
atest\sahi_20101103\sahi\userdata\config\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Cont
roller
Nov 19, 2010 12:49:46 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemote
Fetch
INFO: No SSL Client Cert specified
--------------------HTTPS/SSL START--------------------
Sahi is trying to create a certificate for domain:
203.200.157.188
If you are unable to connect to this HTTPS site, do the following:
Check on your filesystem to see if a file like
D:\RaguBackup on vinoj (Ast259)\Testing Tools\sahi latest\sahi_20101103\sahi\use
rdata\certs\203_200_157_188
has been created.
If not, then create it by running the command below on a command prompt.
Note that you need 'keytool' to be in your path.
keytool comes with the JDK by default and is present in <JAVA_HOME>/bin.
Once you create that file, SSL/HTTPS should work properly for that site.
-------COMMAND START-------
"keytool" -genkey -alias 203.200.157.188 -keypass "sahipassword" -storepass "sah
ipassword" -keyalg RSA -keystore "D:\RaguBackup on vinoj (Ast259)\Testing Tools\
sahi latest\sahi_20101103\sahi\userdata\certs\203_200_157_188" -dname "CN=203.20
0.157.188, OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN" -validity 3650
-------COMMAND END-------
The files in certs can be copied over to other systems to make ssl/https work th
ere.
--------------------HTTPS/SSL END--------------------
Nov 19, 2010 12:49:47 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactory
WARNING:
----
Certificate not found: D:\RaguBackup on vinoj (Ast259)\Testing Tools\sahi latest
\sahi_20101103\sahi\userdata\certs\203_200_157_188
----
I am not able to fix this from the previous topics. please help to solve this.
Thanks
Ragu
This discussion has been closed.
Comments
Can you please paste the contents of the Info tab here?
Regards,
Narayan
Below is the content from the browser
Regards
Ragu
Apologies, the issue because i have not created the certificate correctly. Now it is working after creating the correct certificate.
Thanks for the support.
Regards
Ragu