7b85031 ext. CA: correctly write the cert chain

1 file Authored by stlaz 6 years ago, Committed by jcholast 6 years ago,
    ext. CA: correctly write the cert chain
    
    The cert file would have been rewritten all over again with
    any of the cert in the CA cert chain without this patch.
    
    https://pagure.io/freeipa/issue/6872
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>