From 654e88686e4fddc33091ee10e97e0834e707a4ab Mon Sep 17 00:00:00 2001 From: Adam Harwell Date: Wed, 4 Jan 2017 23:09:43 -0800 Subject: [PATCH] Correcting error message for CA Key validation failure Change-Id: I8f16b56d09f69b07423faf23615a3bdd15c3b10a --- octavia/certificates/generator/local.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/octavia/certificates/generator/local.py b/octavia/certificates/generator/local.py index a8abf94dfc..f733032a1a 100644 --- a/octavia/certificates/generator/local.py +++ b/octavia/certificates/generator/local.py @@ -50,7 +50,7 @@ class LocalCertGenerator(cert_gen.CertGenerator): ca_cert = open(CONF.certificates.ca_certificate).read() except IOError: raise exceptions.CertificateGenerationException( - msg="Failed to load {0}." + msg="Failed to load CA Certificate {0}." .format(CONF.certificates.ca_certificate) ) if not ca_key: @@ -59,8 +59,8 @@ class LocalCertGenerator(cert_gen.CertGenerator): ca_key = open(CONF.certificates.ca_private_key).read() except IOError: raise exceptions.CertificateGenerationException( - msg="Failed to load {0}." - .format(CONF.certificates.ca_certificate) + msg="Failed to load CA Private Key {0}." + .format(CONF.certificates.ca_private_key) ) if not ca_key_pass: ca_key_pass = CONF.certificates.ca_private_key_passphrase