hash-algorithm

Configures the hashing algorithm to be used to sign the digital certificate. This information is sent to the CA in the request for certification (new or renewal). The CA uses the hash algorithm specified here to sign the digital certificate.

Supported on the following devices:

Syntax

hash-algorithm [sha1|sha256|sha384|sha512]

Parameters

hash-algorithm [sha1|sha256|sha384|sha512]
hash-algorithm [sha1|sha256|sha384|sha512] Configures the hashing algorithm type. The options are:
  • sha1 – Uses SHA1 (Secure Hash Algorithm 1) hash function. This is the default setting.
  • sha256 – Uses SHA256 hash function.
  • sha384 – Uses SHA384 hash function.
  • sha512 – Uses SHA512 hash function.
Note: The sha256, sha384 and sha512 hash functions belong to the SHA-2 family of algorithms.

Examples

nx9500-6C8809(config-cmp-policy-CMPPolicy)#hash-algorithm sha512
nx9500-6C8809(config-cmp-policy-CMPPolicy)#show context
crypto-cmp-policy CMPPolicy
 hash-algorithm sha512
nx9500-6C8809(config-cmp-policy-CMPPolicy)#

Related Commands

no Reverts the Hash Algorithm used to default value (sha1)