I want to download a file from the server which is using the secured connection protocol HTTPS. I could do it in the normal server, But, how I can do it using the HTTPS. If anyone have used the sample API, please help me to find the useful resources.
Share
Access an HTTPS url with Java is the same then access an HTTP url. You can always use the
But, you can have some problem when the server’s certificate chain cannot be validated.
So you may need to disable the validation of certificates for testing purposes and trust all certificates.
To do that write: