beaa056 Add support for Random Serial Numbers v3

13 files Authored by rcritten 2 years ago, Committed by frenaud 2 years ago,
    Add support for Random Serial Numbers v3
    
    Dogtag has implemented a new random serial number scheme
    they are calling RSNv3.
    
    https://github.com/dogtagpki/pki/wiki/Random-Certificate-Serial-Numbers-v3
    
    Given the known issues reported this will be supported in IPA for
    new installations only.
    
    There is no mixing of random servers and non-random servers
    allowed.
    
    Instructions for installing a CA:
    https://github.com/dogtagpki/pki/blob/master/docs/installation/ca/Installing-CA-with-Random-Serial-Numbers-v3.adoc
    
    Instructions for installing a KRA:
    https://github.com/dogtagpki/pki/blob/master/docs/installation/kra/Installig-KRA-with-Random-Serial-Numbers-v3.adoc
    
    The version of random serial numbers is stored within the CA entry
    of the server. It is stored as a version to allow for future upgrades.
    
    If a CA has RSN enabled then any KRA installed will also have it
    enabled for its identifiers.
    
    A new attribute, ipaCaRandomSerialNumberVersion, is added to the IPA CA
    entry to track the version number in case PKI has future major
    revisions. This can also be used to determine if RSN is enabled or not.
    
    Fixes: https://pagure.io/freeipa/issue/2016
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+1 -1
file modified
+3 -2
file modified
+2 -2
file modified
+77 -0
file modified
+11 -1
file modified
+5 -8