diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-07-07 16:35:05 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-07-09 18:47:36 -0400 |
commit | fdc9f763cbb9733cc671e23034bd719df4a14247 (patch) | |
tree | 220fdaa37fd950241da490b1aa75cd28689785fe /base/common/python | |
parent | 0ce671a25470f4262f4a4d1ae7a55d32e1743f6c (diff) | |
download | pki-fdc9f763cbb9733cc671e23034bd719df4a14247.tar.gz pki-fdc9f763cbb9733cc671e23034bd719df4a14247.tar.xz pki-fdc9f763cbb9733cc671e23034bd719df4a14247.zip |
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')
-rw-r--r-- | base/common/python/pki/__init__.py | 4 |
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, |