octavia/octavia/certificates/common
Michael Johnson a501714a76 Improve the error message for bad pkcs12 bundles
When a user loads a bad pkcs12 bundle or one with a pass phrase into
barbican and then uses it for a TLS-TERMINATED listener, the error
we return the user is misleading[1].
This patch improves the error message to point out that we got the
bundle from barbican, but that it is unreadable and/or protected
with a pass phrase.

[1] Could not retrieve certificate: [ ... ] (HTTP 400)

Change-Id: I6ad0349dba62b1141be07bfb0e40171e9f7a91b9
Story: 2006587
Task: 36713
(cherry picked from commit a0f4335c38)
2019-09-23 13:14:28 +00:00
..
auth Fix initialization of Barbican client 2019-03-31 09:54:04 +00:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
barbican.py Automatically set Barbican ACLs 2018-07-26 14:05:58 +00:00
cert.py Barbican Cert Manager fails to correctly parse intermediates 2016-02-27 04:59:06 -06:00
local.py Validate server_certs_key_passphrase is 32 chars 2019-09-19 09:15:08 +00:00
pkcs12.py Improve the error message for bad pkcs12 bundles 2019-09-23 13:14:28 +00:00