smcelroy
07-11-2008, 01:38 PM
Hello,
I have a problem down loading a file via HTTPS. I'm getting the following message: No subject alternative names present.
I have found the following work around on the web, but this definitely not a long term solution.
httpsConn.setHostnameVerifier(new HostnameVerifier()
{
@Override
public boolean verify(String arg0, SSLSession arg1) {
return true;
}
});
Does anyone know the real solution to this? I am using java 1.6 and the certificate has been retrieved from the JScape FTP Server.
Thanks.
I have a problem down loading a file via HTTPS. I'm getting the following message: No subject alternative names present.
I have found the following work around on the web, but this definitely not a long term solution.
httpsConn.setHostnameVerifier(new HostnameVerifier()
{
@Override
public boolean verify(String arg0, SSLSession arg1) {
return true;
}
});
Does anyone know the real solution to this? I am using java 1.6 and the certificate has been retrieved from the JScape FTP Server.
Thanks.