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.
SSL problem - sun.security.provider.certpath.SunCertPathBuilderExcepti
Hi,
I'm traing to make Sahi working on https. I did everything from FAQ but it's still don't work (but i got cert). When i try to record or playback on htpps i got error like this (in the web browser window):
Sahi Error - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Either the remote server is down or not reachable
or
You need an external proxy to be configured.
You could configure the external proxy by editing <sahi_root>/config/sahi.properties and setting these properties:
ext.http.proxy.enable=true
ext.http.proxy.host=external_proxy_server_hostname_or_ip
ext.http.proxy.port=external_proxy_server_port
If your proxy needs authorization, you should set these properties too.
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=proxy_authorization_username
ext.http.proxy.auth.password=proxy_authorization_password
You should do the same with ext.https settings for https sites.
Exackly, what should i do ? I open sahi property file and pub values:
ext.http.proxy.enable=true
ext.http.proxy.host=localhost
ext.http.proxy.port=808
After that, refreshing of the site last for eternity. Please help ?
EDIT: I'm using FF 3.0
I'm traing to make Sahi working on https. I did everything from FAQ but it's still don't work (but i got cert). When i try to record or playback on htpps i got error like this (in the web browser window):
Sahi Error - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Either the remote server is down or not reachable
or
You need an external proxy to be configured.
You could configure the external proxy by editing <sahi_root>/config/sahi.properties and setting these properties:
ext.http.proxy.enable=true
ext.http.proxy.host=external_proxy_server_hostname_or_ip
ext.http.proxy.port=external_proxy_server_port
If your proxy needs authorization, you should set these properties too.
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=proxy_authorization_username
ext.http.proxy.auth.password=proxy_authorization_password
You should do the same with ext.https settings for https sites.
Exackly, what should i do ? I open sahi property file and pub values:
ext.http.proxy.enable=true
ext.http.proxy.host=localhost
ext.http.proxy.port=808
After that, refreshing of the site last for eternity. Please help ?
EDIT: I'm using FF 3.0
Comments
There was a bug which was causing that error. Pick this build http://sahi.co.in/static/sahi_20090210.zip and check if it works for you now. If it works I will make a release on SourceForge.
You do not need to change any of the ext.proxy settings.
Regards,
Narayan
There was one other thing broken in the build I gave you (related to closing of sockets). Kindly pick http://sahi.co.in/static/sahi_20090211.zip .
Regards,
Narayan