The enrollment-request signature message-digest-method command configures the digest algorithm used to sign certificate enrollment requests.
The undo enrollment-request signature message-digest-method command restores the default digest algorithm used to sign certificate enrollment requests.
By default, the digest algorithm used to sign certificate enrollment requests is sha-256.
enrollment-request signature message-digest-method { md5 | sha1 | sha-256 | sha-384 | sha-512 | sm3 }
undo enrollment-request signature message-digest-method
| Parameter | Description | Value |
|---|---|---|
md5 |
Specifies the digest algorithm used to sign certificate enrollment requests to MD5. This parameter is supported only when an RSA key pair is used to apply for a certificate. |
- |
sha1 |
Specifies the digest algorithm used to sign certificate enrollment requests to SHA1. This parameter is supported only when an RSA key pair is used to apply for a certificate. |
- |
sha-256 |
Specifies the digest algorithm used to sign certificate enrollment requests to SHA2-256. This parameter is supported only when an RSA key pair is used to apply for a certificate. |
- |
sha-384 |
Specifies the digest algorithm used to sign certificate enrollment requests to SHA2-384. This parameter is supported only when an RSA key pair is used to apply for a certificate. |
- |
sha-512 |
Specifies the digest algorithm used to sign certificate enrollment requests to SHA2-512. This parameter is supported only when an RSA key pair is used to apply for a certificate. |
- |
sm3 |
Specifies the digest algorithm used to sign certificate enrollment requests to SM3. This parameter is supported only when an SM2 key pair is used to apply for a certificate. |
- |
In SCEP local certificate application mode, after a CA server receives a certificate enrollment request from a PKI entity, the CA server requests a signature for authentication, and generates a local certificate only after the authentication is successful.
For security purposes, the SHA2 algorithm is recommended, rather than MD5 and SHA1.