trustedge certificate est
Usage |
|
Description | Uses EST for certificate enrollment, renewal, and key rekeying. |
Overview
TrustEdge certificate tool provides functionality for certificate enrollment, renewal, and key rekeying using Enrollment over Secure Transport (EST).
Tip
To learn more about EST, see DigiCert® Device Trust Manager Enrollment over Secure Transport (EST).
Examples
TrustEdge certificate EST help (--help)
To view usage details and available options for TrustEdge certificate EST, use the --help option:
trustedge certificate est --helpTip
You can add --help to the end of any TrustEdge CLI command to view help information.
Download CA certificates with a custom prefix
trustedge certificate est getcacerts --estc-server-dn clientauth.demo.one.digicert.com \ --estc-server-url /.well-known/est/<enrollment_profile_id>/cacerts --estc-cacerts-alias estca \ --estc-pass <est_passcode>
Command breakdown:
getcacertsInvokes the EST CA certificate retrieval operation.--estc-server-dn clientauth.demo.one.digicert.comSpecifies the EST server’s distinguished name.--estc-server-url /.well-known/est/<enrollment_profile_id>/cacertsSets the URL endpoint for downloading CA certificates.--estc-cacerts-alias estcaSpecifies a custom alias prefix for the CA certificates.--estc-pass <est_passcode>Provides the EST passcode for authentication.
Enroll an ECC key
trustedge certificate est --algorithm ECC --curve P256 --estc-server-dn clientauth.demo.one.digicert.com \ --estc-server-url /.well-known/est/<enrollment_profile_id>/simpleenroll --estc-pass <est_passcode> \ --csr-conf sample_est_csr.cnf --key-alias myEstECCKey
Command breakdown:
--algorithm ECCSpecifies the cryptographic algorithm to use, here ECC.--curve P256Indicates the ECC curve to be used, which is P256.--estc-server-dn clientauth.demo.one.digicert.comDefines the EST server’s distinguished name.--estc-server-url /.well-known/est/<enrollment_profile_id>/simpleenrollSets the URL endpoint for certificate enrollment.--estc-pass <est_passcode>Provides the EST passcode for authentication.--csr-conf sample_est_csr.cnfPoints to the CSR configuration file containing certificate details.--key-alias myEstECCKeyAssigns a custom alias for storing the generated key and certificate.
Renew an ECC key
trustedge certificate est --algorithm ECC --curve P256 --estc-server-dn clientauth.demo.one.digicert.com \ --estc-server-url /.well-known/est/<enrollment_profile_id>/simplereenroll --estc-pass <est_passcode> \ --csr-conf sample_est_csr.cnf --key-alias myEstECCKey
Command breakdown:
--algorithm ECCSpecifies the cryptographic algorithm to use, here ECC.--curve P256Indicates the ECC curve to be used, which is P256.--estc-server-dn clientauth.demo.one.digicert.comDefines the EST server’s distinguished name.--estc-server-url /.well-known/est/<enrollment_profile_id>/simplereenrollSets the URL endpoint for certificate renewal.--estc-pass <est_passcode>Provides the EST passcode for authentication.--csr-conf sample_est_csr.cnfPoints to the CSR configuration file containing certificate renewal details.--key-alias myEstECCKeyIdentifies the key alias for the certificate being renewed.