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.
Connecting To HTTPS With Keystore Generated By Another Program
We are currently trialing Sahi with auto testing one of our web applications over HTTPs however I have become stuck because we have to connect to the website using a certificate that has been signed by a specific certificate authority otherwise the request to access the URL gets rejected.
So I was wondering if it is possible to :
1) Configure Sahi to use a specific client certificate (PFK/PKCS12) that has been created by us without needing to create its own keystore
2) Can we use an existing keystore that has not been generated by Sahi
If the above is already possible would it be possible to post how it can be done?
So I was wondering if it is possible to :
1) Configure Sahi to use a specific client certificate (PFK/PKCS12) that has been created by us without needing to create its own keystore
2) Can we use an existing keystore that has not been generated by Sahi
If the above is already possible would it be possible to post how it can be done?
Comments
Sahi Error - Software caused connection abort: recv failed
I can connect fine when using the client certificate (.pfx) directly, the config settings can be found below:
# 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 = PKCS12
ssl.client.cert.path = ../certs/MyCert
ssl.client.cert.password = password
Would the client certificate need to be imported into the keystore for it to use? When it refers to a client certificate does it mean the keystore or the pfx cert?