Highlighted
Micro Focus Expert
Micro Focus Expert
151 views

(SM) Support Tip: Ensure keystore is generated with SHA2 hashing and displays ‘SHA256withRSA"

When executing the keytool command to generate keystores with the SHA2 hashing algorithm ensure the command uses both –keyalg and -sigalg parameters. The command should look like this example:

keytool -genkeypair -alias myserver –keyalg RSA –sigalg SHA256withRSA -keystore servercert.keystore

When ‘servercert.keystore’ is created check the Signature Algorithm using the following keytool command using this example:

keytool -list -v -keystore servercert.keystore

In the produced output the following should be seen for Signature Algorithm

Signature algorithm name: SHA256withRSA

Labels (1)
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: (SM) Support Tip: Ensure keystore is generated with SHA2 hashing and displays ‘SHA256withRSA&quo

Thanks for the tip

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: (SM) Support Tip: Ensure keystore is generated with SHA2 hashing and displays ‘SHA256withRSA&quo

nice tip, thanks!

Software Support Technical Consultant
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.