I just found that my local JDK doesn’t like the StartSSL™‘s certificate on remote server.
He kept failing with following error while deploying site.
# Transfer error: 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
Tool Box/StartCom CA Certificates/StartCom Root CA (PEM encoded) which is named ‘ca.pem’.
Then execute following script.
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts $JAVA_HOME/bin/keytool -import \ -alias StartCom-Root-CA \ -file ca.pem \ -keystore "$KEYSTORE"
When asked for password?