Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / January 2006

Tip: Looking for answers? Try searching our database.

Problem with certificate

Thread view: 
Simon - 14 Jan 2006 18:42 GMT
How can I get a certificate from a Certificate Authority with a java
application?
chakraborty.subrata@gmail.com - 19 Jan 2006 22:24 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.