This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Defining SSL 443 access using provided cacert.pem
 
Similar Threads
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
"javax.net.ssl.keyStore" system property inside a jar package