Open pki-bot opened 4 years ago
Comment from cheimes (@tiran) at 2017-02-27 14:00:14
Metadata Update from @tiran:
Comment from cheimes (@tiran) at 2017-04-04 12:57:02
I would appreciate if both problems (java.security.InvalidKeyException
handling and pki.key
) are solved for 10.4. A proper handling of invalid transport key is going to allow to improve vault integration in FreeIPA 4.7. Target platforms are Fedora 27 and RHEL 7.5.
Comment from cheimes (@tiran) at 2017-04-04 12:57:04
Metadata Update from @tiran:
Comment from mharmsen (@mharmsen) at 2017-04-04 12:59:34
Metadata Update from @mharmsen:
Comment from mharmsen (@mharmsen) at 2017-04-04 13:00:13
Metadata Update from @mharmsen:
Comment from mharmsen (@mharmsen) at 2017-04-04 16:48:05
Metadata Update from @mharmsen:
Comment from cheimes (@tiran) at 2017-04-26 12:26:05
Related issue: KRA subsystem does not report KRAService serviceRequest EBaseException:Can't decrypt passphrase to client, too. https://pagure.io/freeipa/issue/6899
Comment from mharmsen (@mharmsen) at 2017-08-09 12:37:22
Per CS/DS Meeting of August 7, 2017, it was determined to move this issue from 10.4 ==> FUTURE.
Comment from mharmsen (@mharmsen) at 2017-08-09 12:37:23
Metadata Update from @mharmsen:
This issue was migrated from Pagure Issue #2597. Originally filed by cheimes (@tiran) on 2017-02-17 15:02:26:
The KRA subsysem and pki.key fail to give a proper error message when an invalid certificate is used instead of the correct KRA transport cert.
For https://fedorahosted.org/freeipa/ticket/6652 I wanted to find out how the KRA subsystem signals an invalid KRA transport cert. I changed some code locally to use a completely unrelated certificate in
ipaclient.plugins.vault
.The REST interface of the KRA subsystem doesn't report an error. Instead of a HTTP error, it simply returns an empty json object
{}
, although I see ajava.security.InvalidKeyException
in the internal debug log of KRA.pki.key
doesn't handle the empty JSON gracefully. This leads to a TypeError later.== /var/log/pki/pki-tomcat/kra/debug
== /var/log/pki/pki-tomcat/localhost_access_log.2017-02-17.txt
== /var/log/httpd/error_log