6.12. Setting Up New Key Sets
This section describes setting up an alternative to the default key set in the Token Processing System (TPS) and in the Token Key Service (TKS).
- TKS configuration
- The default key set is configured in the TKS using the following options in the
/var/lib/pki/instance_name/tks/conf/CS.cfgfile:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The above configuration defines settings specific to a certain type or class of tokens that can be used in the TMS. The most important part are the 3 developer or (out of the box) session keys, which are used to create a secure channel before symmetric key handover takes place. A different type of key may have different default values for these keys.The settings describing thenistSP800key diversification method control whether this method or the standard Visa method is used. Specifically, the value of thetks.defKeySet.nistSP800-108KdfOnKeyVersionoption determines that the NIST version will be used. ThenistSP800-108KdfUseCuidAsKddoption allows you to use the legacy key ID value of CUID during processing. The newer KDD value is most commonly used and therefore this option is disabled (false) by default. This allows you to configure a new key set to enable support for a new class of keys.Example 6.2. Enabling Support for the
jForteClassTo enable support for thejForteclass, set:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note the difference in the 3 static session keys compared to the previous example.Certificate System supports the Secure Channel Protocol 03 (SCP03) for Giesecke & Devrient (G&D) Smart Cafe 6 smart cards. To enable SCP03 support for these smart cards in a TKS, set in the/var/lib/pki/instance_name/tks/conf/CS.cfgfile:tks.defKeySet.prot3.divers=emv tks.defKeySet.prot3.diversVer1Keys=emv tks.defKeySet.prot3.devKeyType=DES3 tks.defKeySet.prot3.masterKeyType=DES3
tks.defKeySet.prot3.divers=emv tks.defKeySet.prot3.diversVer1Keys=emv tks.defKeySet.prot3.devKeyType=DES3 tks.defKeySet.prot3.masterKeyType=DES3Copy to Clipboard Copied! Toggle word wrap Toggle overflow - TPS configuration
- The TPS must be configured to recognize the new key set when a supported client attempts to perform an operation on a token. The default
defKeySetis used most often.The primary method to determine thekeySetin the TPS involves Section 6.7, “Mapping Resolver Configuration”. See the linked section for a discussion of the exact settings needed to establish this resolver mechanism.If the KeySet Mapping Resolver is not present, several fallback methods are available for the TPS to determine the correctkeySet:- You can add the
tps.connector.tks1.keySet=defKeySetto theCS.cfgconfiguration file of the TPS. - Certain clients can possibly be configured to explicitly pass the desired
keySetvalue. However, the Enterprise Security Client does not have this ability at this point. - When the TPS calculates the proper
keySetbased on the desired method, all requests to the TKS to help create secure channels pass thekeySetvalue as well. The TKS can then use its ownkeySetconfiguration (described above) to determine how to proceed.