Certificate Authority (CA)
Description
Scope
Generate certificates
./setup_PKI.sh {FOLDER_TO_BE_CREATED}./setup_PKI.sh data-cfsslRevoke certificates
cd data-cfssl
# Obtain certificate information to extract serial and AKI number identifiers.
cfssl certinfo -cert certs/connectorArevoked.pem
# Command to revoke the certificate
# cfssl revoke -db-config ocsp/sqlite_db_components.json -serial {SERIAL_NUMBER} -aki {AKI_CERTIFICATE} -reason={REASON}
# where AKI must be included as shown by certinfo without ":" and with all lowercase letters.
# It could look something like this for the connectorArevoked certificate
cfssl revoke -db-config ocsp/sqlite_db_components.json -serial "581921879588615033625472730240878974097738102962" -aki "c476d0aacd9379350feba7646090a46bb4384d33" -reason="superseded"Refresh the OCSP server to include the changes
Verify the changes against the OCSP server
Extra commands for device certificates
Extra commands for CA certificate
Extra commands for subCA certificate
Last updated

