octavia/octavia/tests/unit/certificates
Michael Johnson ec76e76307 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)

Conflicts:
    octavia/api/v2/controllers/listener.py

Change-Id: I6ad0349dba62b1141be07bfb0e40171e9f7a91b9
Story: 2006587
Task: 36713
(cherry picked from commit a0f4335c38)
(cherry picked from commit a501714a76)
(cherry picked from commit 08916abd2b)
2019-09-23 16:03:33 +02:00
..
common Switch to using PKCS12 for TLS Term certs 2018-01-23 07:17:14 +00:00
generator Fix passphrase None errors 2018-08-31 07:10:39 +00:00
manager Improve the error message for bad pkcs12 bundles 2019-09-23 16:03:33 +02:00
__init__.py Support for Certificate data handling 2014-11-11 14:29:01 -06:00