Manual Chapter : Generating External HSM Key-Cert Pairs for DNSSEC

Applies To:

  • BIG-IP APM

    16.1.1, 16.1.0, 16.0.1, 16.0.0

  • BIG-IP LTM

    16.1.1, 16.1.0, 16.0.1, 16.0.0

  • BIG-IP AFM

    16.1.1, 16.1.0, 16.0.1, 16.0.0

  • BIG-IP DNS

    16.1.1, 16.1.0, 16.0.1, 16.0.0

  • BIG-IP ASM

    16.1.1, 16.1.0, 16.0.1, 16.0.0

Generating External HSM Key-Cert Pairs for DNSSEC

When the BIG-IP system is a BIG-IP DNS (previously Global Traffic Manager), you can use the nShield to store and manage DNSSEC keys.

For additional information about using nShield, refer to the nShield website: (https://www.entrust.com/digital-security/hsm).

Before you generate the key, make sure that the nShield client is running on all BIG-IP DNS devices in the configuration synchronization group.

You can use the Traffic Management Shell (tmsh) to generate a key and certificate.

  1. Log in to the command-line interface of the system using an account with administrator privileges.

  2. Open the TMOS Shell (tmsh).

    tmsh

  3. Generate the key.

    create sys crypto key *<key\_name>* gen-certificate common-name *<cert\_name>* security-type nethsm

    This example generates an external HSM key named test_key and a certificate named test_nshield.com with the security type of nethsm:

    create sys crypto key test_key gen-certificate common-name test_nshield.com security-type nethsm

  4. Verify that the key was created.

    list sys crypto key test_key.key

    Information about the key displays:

    `sys crypto key test_key.key {
    key-id <*32-digit string*>
    key-size 2048
    key-type rsa-private
    security-type nethsm
    }`

When you generate a key/certificate using tmsh, the system creates a HSM private key. It also creates a local key, which points to the HSM key, residing in the HSM.

Before you create a DNSSEC key using an external key and certificate, make sure that you have generated a key and certificate using nShield, and that you have loaded the key and certificate.

You can create manually managed DNSSEC zone-signing and key-signing keys for use with an external HSM. For more information, see Configuring DNSSEC with an external HSM in BIG-IP DNS Services: Implementations at http://support.f5.com.