0% found this document useful (0 votes)
65 views3 pages

How-To - Create A Java Keystore and KeyPair For Authentication

This document provides instructions for creating a Java keystore and keypair using Keystore Explorer. It describes launching Keystore Explorer, creating a new JKS keystore with a password, and then generating a 2048-bit DSA keypair within the keystore. The keypair is given an alias name and certificate properties when saved. This allows for the keystore to hold the new keypair that can be used for SSL connectivity and client authentication.

Uploaded by

Srii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views3 pages

How-To - Create A Java Keystore and KeyPair For Authentication

This document provides instructions for creating a Java keystore and keypair using Keystore Explorer. It describes launching Keystore Explorer, creating a new JKS keystore with a password, and then generating a 2048-bit DSA keypair within the keystore. The keypair is given an alias name and certificate properties when saved. This allows for the keystore to hold the new keypair that can be used for SSL connectivity and client authentication.

Uploaded by

Srii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

How-To: Create a Java Keystore and KeyPair for Authentication

I wanted to show how to create a new java key store and generate a key pair which
can be used for SSL connectivity and client authentication purposes. Read further to
know more.

Entities Involved:

 Keystore Explorer - Download Location

Assumptions:

 Basic knowledge on keystore/certificate handling;


 keystore explorer had been downloaded and installed for use;

Keywords & Extensions:

 KS [Keystore Explorer]

Procedure:

Launch KS and select "Create a New KeyStore" as seen in screen below:

Choose JKS as the type for the new keystore we will be creating as it is the most
common and will look like what is seen in the image below:

Save the keystore with a keystore password when prompted, just like this:

1 of 3 IBI
How-To: Create a Java Keystore and KeyPair for Authentication

Now that we have a keystore created to hold all our keys and certificates, let us try &
create a new key pair. Navigate to Tools in the menu bar and choose "Generate Key
Pair":

Select the algorithm as DSA and the key size as 2048 [or anything else as desired]

Choose the key pair properties appropriately, as required:

Supply the certificate properties as seen below:

2 of 3 IBI
How-To: Create a Java Keystore and KeyPair for Authentication

Save the entry and supply an alias name when prompted for it:

which will make the keystore look like this:

which is how one can create a JKS and a keypair easily. Thanks to Lazgo Software &
Wayne Grant for offering such an excellent tool absolutely free of cost.

3 of 3 IBI

You might also like