Files
freeipa/ipalib
Fraser Tweedale 854d3053e2 Handle missing LWCA certificate or chain
If lightweight CA key replication has not completed, requests for
the certificate or chain will return 404**.  This can occur in
normal operation, and should be a temporary condition.  Detect this
case and handle it by simply omitting the 'certificate' and/or
'certificate_out' fields in the response, and add a warning message
to the response.

Also update the client-side plugin that handles the
--certificate-out option.  Because the CLI will automatically print
the warning message, if the expected field is missing from the
response, just ignore it and continue processing.

** after the Dogtag NullPointerException gets fixed!

Part of: https://pagure.io/freeipa/issue/7964

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2019-06-18 10:36:24 +10:00
..
2019-04-25 08:57:58 +02:00
2018-09-27 16:11:18 +02:00
2018-07-14 12:04:19 +02:00
2018-09-27 16:11:18 +02:00
2016-11-24 15:46:40 +01:00
2017-11-21 16:13:28 +01:00
2017-02-17 10:22:07 +01:00
2018-10-05 12:06:19 +02:00
2017-10-25 09:46:41 +02:00
2019-04-23 12:55:35 +02:00
2018-09-27 11:49:04 +02:00
2018-11-07 08:39:42 +01:00
2016-10-20 18:43:37 +02:00
2018-07-05 19:46:42 +02:00
2018-09-27 11:49:04 +02:00
2019-05-16 14:38:43 -04:00