Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating CA using keytool

 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,

how to create our own CA using keytool utility ? i find some articles using openssl.. please point some link if any. Thanks.
 
Carey Evans
Ranch Hand
Posts: 225
Debian Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot use the current keytool as a CA. The version in Java 7 will probably support it, and for now you can write code using the X509V3CertificateGenerator from Bouncy Castle if you know what you’re doing.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks for the information Carey. I will check the link later as i cannot access the link now. Basically i m trying to do this without any Java API.
 
Pankaj Tiwari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you have not got any solution then you may use following steps. I got it from some site and used in a year back, so don't remember the reference
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Pankaj .
Can i create CA in a machine (installed with openssl) and use the CA to sign the certificate in another machine ?
 
Pankaj Tiwari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, i don't think that this is not possible. But one thing you should keep in mind..this is just a dummy and self signed CA
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic