• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Bouncy Castle - Generate a Certificate and Sign that by CA Root Certificate

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I want to know how do generate the KeyPair and Sign that certificate by CA Root Certificate.

I need some code sample or link to get more info.

 
Ranch Hand
Posts: 781
Netbeans IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

KasiMurugan Ramasamy wrote:Hi All,

I want to know how do generate the KeyPair and Sign that certificate by CA Root Certificate.

I need some code sample or link to get more info.



You cannot sign the certificate using the CA root certificate since one signs using the private key associated with the CA root certificate and the CA will never ever ever release that to you.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Create a certificate CSR for the CA to sign. This is the part where you pay them to sign your certificate. Next, keep the signed certificate that the CA return to you in your keystore.
 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI All,

Thanks for reply. My question was, Signing a certificate by using certificate(our certificate, so private key will be with us only) returned from CA.

I found the way. I have done it.

Thank so you so much for replies.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi KasiMurugan Ramasamy, I am looking for the samething so can you please help me with solution.
Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic