Files
freeipa/ipaserver/plugins
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
..
2010-12-20 17:19:53 -05:00
2018-10-10 09:56:40 +02:00
2017-03-27 19:08:26 +02:00
2019-06-18 10:36:24 +10:00
2018-01-09 07:53:28 +01:00
2018-09-27 11:49:04 +02:00
2019-05-16 14:38:43 -04:00
2019-03-28 00:21:00 +01:00
2019-03-28 00:21:00 +01:00
2019-05-16 14:38:43 -04:00
2019-01-16 08:57:51 +01:00
2018-07-14 12:04:19 +02:00
2019-05-28 09:55:51 +03:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2018-07-14 12:04:19 +02:00
2018-07-14 12:04:19 +02:00
2019-03-28 17:57:58 +01:00
2019-01-29 12:47:15 +01:00
2017-09-08 15:42:07 +02:00
2019-03-28 00:21:00 +01:00
2019-03-28 00:21:00 +01:00