076d955 Store HSM token and state

Authored and Committed by cheimes 4 years ago
    Store HSM token and state
    
    The HSM state is stored in fstore, so that CA and KRA installer use the
    correct token names for internal certificates. The default token is
    "internal", meaning the keys are stored in a NSSDB as usual.
    
    Related: https://pagure.io/freeipa/issue/5608
    Co-authored-by: Magnus K Karlsson <magnus-ka.karlsson@polisen.se>
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>