*
The moose likes Sockets and Internet Protocols and the fly likes Defining SSL 443 access using provided cacert.pem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Defining SSL 443 access using provided cacert.pem" Watch "Defining SSL 443 access using provided cacert.pem" New topic
Author

Defining SSL 443 access using provided cacert.pem

Jeff Tanner
Greenhorn

Joined: Aug 09, 2010
Posts: 6
Hi

In Java, I wish to establish a 443 SSL connection with remote endpoint using provided CAcerts.pem file.

I wias able to do such in PHP, but I do not how to do the same in Java:



I started to work out the same with Java, with code that I have googled, but I am not sure how to assure it is using PORT 443 and to use the available CAcert.pem file.



Ideas?

Thanks

Jeff in Seattle
 
wood burning stoves
 
subject: Defining SSL 443 access using provided cacert.pem
 
Similar Threads
"javax.net.ssl.keyStore" system property inside a jar package
How to attach a certificate to a socket and send a https POST request?
Problem with using HttpsURLConnection
SSL - client side - trusting untrusted certificates?
HttpClient with a certificate