Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
System.setProperty ("jsse.enableSNIExtension", "false");
javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(
new javax.net.ssl.HostnameVerifier(){
public boolean verify(String hostname,
javax.net.ssl.SSLSession sslSession) {
if (hostname.equals("mydomain")) {
return true;
}
return false;
}
});
Exception in component tHttpRequest_1
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
Is there any way to retain HTTPs login (via cookie?) or to execute both operations (authentication + post call to download file) in a single component?
Hi Shong,
Thanks for your answer. In my case, "needs authentication" check doesn't authenticate properly so I must point at LOGIN form page and send both username and password to sucessfully log in. Therefore, I only can execute one action which is login, trying to download file would be a second step.
Thanks