5f0e13c ca-add: validate Subject DN name attributes

3 files Authored by ftweedal 6 years ago, Committed by mbasti 6 years ago,
    ca-add: validate Subject DN name attributes
    
    If the Subject DN is syntactically valid but contains unrecognised
    name attributes, FreeIPA accepts it but Dogtag rejects it, returning
    status 400 and causing the framework to raise RemoteRetrieveError.
    
    Update the ca-add command to perform some additional validation on
    the user-supplied Subject DN, making sure that we recognise all the
    attributes.
    
    Fixes: https://pagure.io/freeipa/issue/6987
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    Reviewed-By: Felipe Volpone <felipevolpone@gmail.com>
    
        
file modified
+2 -2
file modified
+21 -0