16f33dd Check for CA subject name collision before attempting creation

1 file Authored by ftweedal 7 years ago, Committed by mbasti 7 years ago,
    Check for CA subject name collision before attempting creation
    
    Lightweight CA subject name collisions are prevented by Dogtag
    (response code 409 Conflict), however, we do not want to expose the
    Dogtag error.  Perform the check in the IPA framework as well,
    raising DuplicateEntry on collision.
    
    Fixes: https://fedorahosted.org/freeipa/ticket/5981
    Reviewed-By: Milan Kubik <mkubik@redhat.com>
    
        
file modified
+7 -0