This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

p7b ssl connection errors

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See if this website helps: https://www.sslshopper.com/ssl-converter.html
 
Jesse Reim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yeah i tried using that to convert the p7b but it didnt work
 
greg stark
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic