diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2016-08-26 11:11:56 +1000 |
|---|---|---|
| committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-09-07 12:49:28 +0200 |
| commit | 520ad7d865ff147d3ff8819d3e384d7cbd69bfb7 (patch) | |
| tree | 01e8805cbaeb4bf4407d37b53d17720cb67d2ebb /ipapython | |
| parent | 4c35afccf3cf3a5176e598872c4fcff80b416335 (diff) | |
| download | freeipa-520ad7d865ff147d3ff8819d3e384d7cbd69bfb7.tar.gz freeipa-520ad7d865ff147d3ff8819d3e384d7cbd69bfb7.tar.xz freeipa-520ad7d865ff147d3ff8819d3e384d7cbd69bfb7.zip | |
cert-request: raise CertificateOperationError if CA disabled
Detect when cert-request returns HTTP 409, which indicates that the
target CA is disabled - a valid scenario - and raise
CertificateOperationError with a friendly message instead of
HTTPRequestError.
Fixes: https://fedorahosted.org/freeipa/ticket/6260
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions
