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.
Problems with HTTPS/SSL on Sahi in Windows XP
Hi!
I m trying Sahi on Windows XP.
But the last release sahi_20080627.zip cames with the directory /certs empty and the program is not able to generate the certs it needs.
I set the PATH to point correctly to keytool, but it did not work.
I modified the file /config/sahi.properties to put:
keytool.path="C:/Archivos de programa/Java/jre1.6.0_07/bin/keytool"
But it did not work (whitespaces, ",
I m trying Sahi on Windows XP.
But the last release sahi_20080627.zip cames with the directory /certs empty and the program is not able to generate the certs it needs.
I set the PATH to point correctly to keytool, but it did not work.
I modified the file /config/sahi.properties to put:
keytool.path="C:/Archivos de programa/Java/jre1.6.0_07/bin/keytool"
But it did not work (whitespaces, ",
Comments
You need to run the Java keytool.exe manually.
First, copy the line that looks like this to Notepad or something:
keytool.exe -genkey -alias login.yahoo.com -keypass sahipassword -storepass sahipassword -keyalg RSA -keystore C:\Documents and Settings\User\Desktop\sahi\certs\login_yahoo_com -dname "CN=login.yahoo.com, OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
Next, add quotes around the -keystore parameter so that the command looks like this:
keytool.exe -genkey -alias login.yahoo.com -keypass sahipassword -storepass sahipassword -keyalg RSA -keystore "C:\Documents and Settings\User\Desktop\sahi\certs\login_yahoo_com" -dname "CN=login.yahoo.com, OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
Third, open a command prompt and navigate to your Java/bin directory. It's probably C:\Program Files\Java\bin
Fourth, copy the command you modified in Notepad and paste it to the command prompt window. Or type it in by hand if you want.
Last, hit enter to execute the command.
That should get you going.
keytool error: java.io.IOException: Invalid keystore format
This are the steps for do that:
1) Do a right click on icon "My Computer" and select "Properties"
2) On tab "Advanced", click on "Environment Variables" button
3) On "System Variables", select "Path" and edit
4) On "Variable value" add in the end of that line (separated with ; ) the path where the file "keytool.exe" is (in my case is "C:\Program Files\Java\j2re1.4.2_03\bin" ).
5) Click on "ok" of all opened windows.
Now try to use sahi again.
Hope that works for you too
after trying a million of combinations of \,\\,/,',", i found this to be a working solution when you have blanks in your pathname: Gerhard