Skip to main content

Create Approver (OpenSSL)

To generate a secure key pair for an "approver" using OpenSSL, follow these steps. Note that it's important to ensure a high-quality entropy source to generate truly random keys, which is crucial for cryptographic security.

    openssl req -new -x509 -nodes -sha256 -newkey ec -days 3650 -subj '/CN=FinanceOfficer1' -keyout finance-officer-1.key -out finance-officer-1.crt

The OpenSSL command above generated two files:

  • finance-officer-1.key
  • finance-officer-1.crt

Use this command to extract the public key and then add it to SKA-Key's policy:

openssl x509 -pubkey -noout -in finance-officer-1.crt