• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Certificates and Key tutorial

Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone point me to a really good tutorial for importing Certificates and Keys?

I have an SSL connection working with an unsigned (or was it untrusted?) certificate (Shelco.cert.der) issued by someone, I also have a key (Shelco.key.der) provided by them, and I am successfully signing messages.

Along the lines I have sort of lost sight as to what is for what.
I am completely new to Java but have been able to piece things together but as I said lost sight as to what is for what, so if someone could either point me to a really good tutorial or give me a run down I would really appreciate it.

Questions I have:
- which of the two are required for signing messages, just the key or both cert and key?
- which of the two are required for a successfull SSL connection, I am assuming it is both?
- the provider also send me a link to the CA Certificates copies
Are they the same as the cert. and key they send me? and can I safely ignore them?
- what are the commands for importing the key? I have the command for importing the certificate but that raises another question;
- am I doing the right thing importing the cert to the following keystore
C:\Documents and Settings\Administrator\.keystore it does not look right to me, but it works, when I import the cert for ColdFusion I run the following which looks more like the right thing
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic