wood burning stoves 2.0*
The moose likes Security and the fly likes p7b ssl connection errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "p7b ssl connection errors" Watch "p7b ssl connection errors" New topic
Author

p7b ssl connection errors

Jesse Reim
Greenhorn

Joined: Jun 17, 2010
Posts: 11
Hello all i have hit a road block and could really use a hand because at this point im

i got a p7b certificate and need to use it to make a SSL connection to an MQConnection.
I cant seem to make the connection and i believe this has to do with how i stored the p7b file into my keystore.
I am installing the certificate into a new keystore in the following ways:
1. couldn't add it directly using key tool because it said it wasnt a X.509 cert (which i agree with)
2. converted it to a root.cer and other.cer and added them both to a new key store as ailas root and other (FAIL)
3. concatenated them into one file join.cer and added that to the keystore (FAIL)
4. There was another set of data with just some plain text starting with ----BEGIN CERT---- that was included in the body but it isnt a X.509 according to keytool

I am pretty baffled at this point if any one could help it would be greatly appreciated!!

Thanks
JR
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
See if this website helps: https://www.sslshopper.com/ssl-converter.html


Nice to meet you.
Jesse Reim
Greenhorn

Joined: Jun 17, 2010
Posts: 11
yeah i tried using that to convert the p7b but it didnt work
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
Jesse Reim wrote:yeah i tried using that to convert the p7b but it didnt work

can you elaborate a bit? "Didn't work" doesn't really help. Also, what is an MQConnection? are you writing a Java SSL client?
 
 
subject: p7b ssl connection errors
 
Similar Threads
how do i programmatically create a keystore and import my certificate into it?
Cerificates and Keys : Java Keystore
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites whi
Trying to apply a custom ssl certificate to a running proxy
Certificates and Key tutorial