Auto Light Dark
Auto Light Dark

Appendices

References

Title

Description

Document/Link

Utimaco SecurityServer - EJBCA Software Stack

Keyfactor documentation describing the EJBCA software stack and integration with Utimaco SecurityServer.

https://docs.keyfactor.com/ejbca-software/latest/utimaco-cryptoserver

EJBCA Cloud AWS

Keyfactor documentation covering EJBCA Cloud deployment and configuration on AWS.

https://docs.keyfactor.com/ejbca-cloud/latest/ejbca-cloud-aws

References


Command Summary

Commands Used

Purpose

mkdir -p /opt/utimaco/bin

Creates the /opt/utimaco/bin directory for storing Utimaco command-line utilities.

mkdir /opt/utimaco/lib

Creates the /opt/utimaco/lib directory for storing the Utimaco PKCS#11 library.

cp ~/path_to_application_folder/lib/libcs_pkcs11_R3.so /opt/utimaco/lib

Copies the Utimaco PKCS#11 R3 library to the designated library directory.

chmod +x /opt/utimaco/lib/libcs_pkcs11_R3.so

Grants executable permission to the Utimaco PKCS#11 library.

cd ~/path_to_application_folder

Changes the working directory to the SecurityServer application folder.

cp csadm p11tool2 /opt/utimaco/bin

Copies the csadm and p11tool2 utilities to the Utimaco binary directory.

chmod +x /opt/utimaco/bin/csadm /opt/utimaco/bin/p11tool2

Grants executable permission to the csadm and p11tool2 utilities.

mkdir /etc/utimaco

Creates the /etc/utimaco directory for storing Utimaco configuration files.

cd ~/path_to_application_folder/Software/Linux/Crypto_APIs/PKCS11_R3/sample

Navigates to the directory containing the sample PKCS#11 R3 configuration file.

cp cs_pkcs11_R3.cfg /etc/utimaco

Copies the PKCS#11 R3 configuration file to /etc/utimaco.

./p11tool2 slot=<slot no.> Label=<token label> Login=ADMIN,ADMIN.key InitToken=<SO pin>

Initializes the selected PKCS#11 slot/token and configures the Security Officer (SO) PIN.

./p11tool2 slot=<slot no.> LoginSO=<SO pin> InitPin=<Cryptouser pin>

Initializes the Crypto User PIN for the selected HSM slot.

$EJBCA_HOME/dist/clientToolBox/ejbcaClientToolBox.sh PKCS11HSMKeyTool generate

Starts the EJBCA PKCS#11 HSM key-generation utility to generate HSM-backed keys.

./p11tool2 LoginUser=<User PIN> ListObjects

Lists the PKCS#11 objects available in the HSM slot to verify the generated keys and certificates.

$EJBCA_HOME/dist/p11ng-cli/p11ng-cli.sh signperformancetest --lib-file /root/utimaco/libcs_pkcs11_R3.so --slot 0 --alias signKey --time-limit 5000 --signature-algorithm SHA256withRSA --verify

Performs a signing performance test using signKey and verifies the generated RSA/SHA-256 signature through the Utimaco PKCS#11 library.

openssl req -new -newkey rsa:2048 -nodes -keyout testserver.key -out testserver.csr -subj "/CN=testserver.example.com"

Generates a 2048-bit RSA private key and CSR for testserver.example.com for certificate issuance testing.

openssl verify -CAfile UtimacoTestCA.pem testserver.example.com.pem

Verifies the issued server certificate against the UtimacoTestCA CA certificate.

Commands used