Step-by-step guide to generate a key pair using Java keytool for later JAR signing.
This section uses Java keytool to generate a new key pair on the CryptoHub, which you can use later to sign a JAR file with the Java jarsigner utility.
The JDK installation includes the keytool application that enables you to run the keytool commands in this section with no additional configuration.
After execution, the keytool application prompts for information about the key pair you are generating.
2
When prompted for the KeyStore password in the preceding command, enter the CryptoHub identity password configured inside the <CRYPTO-OPR-PASS> tag in the fxpkcs11.cfg file.
Text
1. What is your first and last name?<br>[Unknown]: www.example.com2. What is the name of your organizational unit?<br>[Unknown]: Engineering3. What is the name of your organization?<br>[Unknown]: Futurex4. What is the name of your City or Locality?<br>[Unknown]: Bulverde5. What is the name of your State or Province?<br>[Unknown]: TX6. What is the two-letter country code for this unit?<br>[Unknown]: US7. Is CN=www.example.com, OU=Engineering, O=Futurex, L=Bulverde, ST=TX, C=US correct?<br>[no]: yes
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.