summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-07-07 16:35:05 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-07-09 18:47:36 -0400
commitfdc9f763cbb9733cc671e23034bd719df4a14247 (patch)
tree220fdaa37fd950241da490b1aa75cd28689785fe /base/common/python/pki
parent0ce671a25470f4262f4a4d1ae7a55d32e1743f6c (diff)
Fixed transport certificate delimiters.
The REST service and client library have been fixed to use the correct delimiters for transport certificate. The REST service was also modified to insert a new line between the header and the certificate data. Ticket #1063
Diffstat (limited to 'base/common/python/pki')
-rw-r--r--base/common/python/pki/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/python/pki/__init__.py b/base/common/python/pki/__init__.py
index b610a9f8d..6f3aa6253 100644
--- a/base/common/python/pki/__init__.py
+++ b/base/common/python/pki/__init__.py
@@ -33,8 +33,8 @@ BASE_DIR = '/var/lib'
LOG_DIR = '/var/log/pki'
PACKAGE_VERSION = SHARE_DIR + '/VERSION'
-CERT_HEADER = "-----BEGIN NEW CERTIFICATE REQUEST-----"
-CERT_FOOTER = "-----END NEW CERTIFICATE REQUEST-----"
+CERT_HEADER = "-----BEGIN CERTIFICATE-----"
+CERT_FOOTER = "-----END CERTIFICATE-----"
def read_text(message,