Importing Certificates to OpenXPKI

  1. As OpenXPKI needs to be able to build the full chain for any certificate, you need to import the Root CA(s) first.

›_ Console

# openxpkiadm certificate import --file RootCA.pem 
image-3284959303-1.jpg

Import root CA

  1. Register datasafe token for the democa realm with DataVault certificate.

›_ Console

# openxpkiadm alias --realm democa --token datasafe --file 

OpenXPKI_DataVault.crt  
image-3284959303-2.jpg

Register DataVault token

  1. Verify that the key_usable for DataVault token is 1.

›_ Console

# openxpkicli  get_token_info --arg alias=vault-1 
image-3284959303-3.jpg

DataVault token info

  1. Register the certsign token with the Subordinate CA certificate.

›_ Console

# openxpkiadm alias --realm democa --token certsign --file  SubCA.pem 
image-3284959303-4.jpg

Register certsign token

  1. If the import went smoothly, you should see something like this.

›_ Console

# openxpkiadm alias --realm democa 
image-3284959303-5.jpg

democa realm functional token list

  1. Create a CRL.

›_ Console

# openxpkicmd  --realm democa crl_issuance 
image-3284959303-6.jpg

CRL creation