a44cb09 ACME: Don't treat pki-server ca-config-show failures as fatal

Authored and Committed by rcritten a year ago
    ACME: Don't treat pki-server ca-config-show failures as fatal
    
    Up to PKI 11.5.0 even when a pki-server call failed it had a
    return value of 0. This was fixed in 11.5.0 which breaks
    ipa-acme-manage pruning. If a configuration value is not set
    then the call fails and the tool gives up with an error like:
    
    ERROR: No such parameter: jobsScheduler.job.pruning.certRetentionUnit
    
    In previous versions this resulted in an empty string so the tool
    displayed the default value.
    
    So now upon failure look in the stderr output for "No such parameter"
    and return an empty string so the behavior is consistent between
    both old and new PKI server versions.
    
    Fixes: https://pagure.io/freeipa/issue/9503
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>