Where target url is https , and the cert is self signed, exception occurs:
groovyx.remote.RemoteControlException: Error sending command chain to 'https://www.staging.on.dolicloud.com/grails-remote-control'
at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:65)
at groovyx.remote.client.RemoteControl.sendCommandChain(RemoteControl.groovy:114)
at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:73)
at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:67)
at groovyx.remote.client.RemoteControl.call(RemoteControl.groovy:81)
at AdminSpec.login(AdminSpec.groovy:18)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at groovyx.remote.transport.http.HttpTransport.send_closure1(HttpTransport.groovy:61)
at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:53)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
Where target url is https , and the cert is self signed, exception occurs: