• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java Keytool

b4u

Golden Member
Hi,

I'm currently learning about SSL, certificates, personal certificate, ...

So I'm came across keytool, that comes with Java package.

I have a few questions, but will start with some easy ones first:

1# Documentation (here says something about alias ... does keytool stores info anywhere else but the .keystore it generates? Some java at home directory, some registry setting (windows) or property file?

2# Can I generate a certificate for a website? (not from a trust source, I know, but for test purposes only)

3# Can I generate a certificate for personal identification, so a user can install it on it's browser and my website can automatically login once it receives it's info?


Thanks
 
Need some more info ...

I have a keystore file, named my.keystore. I exported the public key using keytool:

keytool -export -keystore my.keystore -alias myAlias -file myPublic.x509.cer

And there! The cer file with the public key.

Now I tried to import that cer file into internet explorer: Tools -> Internet Options -> Tab Content -> Certificates -> Tab Personal -> Import ...

After importing, it tells me it was imported with success, but asked for no password, and the certificate doesn't appear on the Personal tab ...

Anyone knows why? Or why it is not supposed to appear?


<edit>I'm using Windows XP Pro SP2 🙂 with JDK 1.4.2</edit>

Thanks
 
Back
Top