For ECC Keys

1. Generate key file for KSK.

›_ Console

# dnssec-keyfromlabel -E pkcs11 -f KSK a- ECDSAP256SHA256 -l 

"pkcs11:token=Bind;object=ksk" exampleecc.net 

Where the parameters:

  • -E Is for engine.

  • -l specifies the key label in pkcs11 URI format.

  • -f specifies the key flag.

  • -a is the algorithm.

  • exampleecc.net is name of zone.

tmpvs57gwir.jpg

Key file generation for KSK key

2. Generate key file for ZSK.

›_ Console

# dnssec-keyfromlabel -E pkcs11 -a ECDSAP256SHA256 -l 

"pkcs11:token=Bind;object=zsk" exampleecc.net 
tmpblk4f4_x.jpg

Key file generation for ZSK key

Where the parameters:

  • -E Is for engine.

  • -l specifies the key label in pkcs11 URI format.

  • -f specifies the key flag.

  • -a is the algorithm.

  • example.net is name of zone.

3. Verify that you have two KSK and two ZSK key files available.

›_ Console

# ls -l K* 
tmp662mp4tn.jpg

List files