keytool utility will be used to list the signing certificate, confirming that both the private key and certificate were successfully imported into the keystore.
These steps ensure that the KMES Series 3 can be used to store private keys for Curity Identity Server, as well as the self-signed TLS certificate in the next section.
Perform the following tasks to create a CA for the Android APK Signing key pair:
- Create a new X.509 certificate container.
- Generate a new key pair for the TLS server certificate.
- Create an approval group for TLS signing.
- Add an issuance policy to the TLS server certificate certificate.
Create a certificate container
Perform the following steps to create a new X.509 certificate container:Select [ Add CA ] at the bottom of the page or right-click anywhere in the window and select Add CA….
In the pop-up menu, specify the following information for the Certificate Container:
- Name: Enter Curity.
- Host: Select None.
- Type: Select X.509.
- Owner group: In the drop-down menu, select the Curity role created in a previous section.
Generate a certificate and a key pair
Perform the following steps to generate a new key pair for the Android APK signing client:Right-click the X.509 certificate container you created and select Add Certificate > New Certificate.
In the Subject DN tab of the certificate creation wizard, select the Classic Preset in the drop-down menu and specify
Demo_1 as the Common Name for the certificate.Create an approval group
Perform the following steps to create an approval group for PKI signing:Select [ Add Approval Group ] at the bottom of the page or right-click anywhere in the window and select Add Approval Group….
Add an issuance policy
Perform the following steps to add an issuance policy to the Android APK Signing client certificate:In the Basic Info tab, configure the following settings:
- Approvals: Select 0. Note: The Zero approval policy requires Anonymous Signing, which will be enabled in a future step.
- Allowed hashes: Select SHA1 only.
Verifying the private key entry linked to the TLS server certificate is in the Java Keystore
Note: The
keytool application is included in the JDK installation, so you can run the keytool command in this section with no additional configuration.Shell
<CRYPTO-OPR-PASS> tag in the fxpkcs11.cfg file.
If the command succeeds, you should see an output similar to the following:
None

