| View previous topic :: View next topic |
| Author |
Message |
Simon Guest
|
Posted: Sat Jan 14, 2006 6:42 pm Post subject: Problem with certificate |
|
|
How can I get a certificate from a Certificate Authority with a java
application?
|
|
| Back to top |
|
 |
chakraborty.subrata@gmail Guest
|
Posted: Thu Jan 19, 2006 10:24 pm Post subject: Re: Problem with certificate |
|
|
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 |
|
 |
|