AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with certificate

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
Simon
Guest





PostPosted: Sat Jan 14, 2006 6:42 pm    Post subject: Problem with certificate Reply with quote



How can I get a certificate from a Certificate Authority with a java
application?
Back to top
chakraborty.subrata@gmail
Guest





PostPosted: Thu Jan 19, 2006 10:24 pm    Post subject: Re: Problem with certificate Reply with quote



Use keytool utility.

Example -

1. Generate the key
keytool -genkey -v -alias mykey-basic -keyalg RSA -keysize 1024 -sigalg
MD5withRSA -keys
tore my.keystore

2. Generate CSR with -certreq option
keytool -certreq -v -alias mykey-basic -file ~/new.csr -keystore
my.keystore -storepa
ss password

3. Send the CSR To a CA (e.g. verisign)

4. Receive the certificate from CA (e.g. Verisign)

5. Install the certificate
keytool -import -v -trustcacerts -alias

Hope it helps.

- Subrata

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.