18 January 2026:


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

marcin1041marcin1041 Members
edited February 2009 in Sahi - Open Source
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

Comments

Sign In or Register to comment.