Strip cluster CA certificate from blank lines
Bug #1775342 reported by
Spyros Trigazis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When a client retrieves a CA certificate from the magnum api, the string that is returned contains a blank line at the end. Some clients, namely the java kubernetes client fail to parse the ca certificate mounted in the pods.
Changed in magnum: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/572755 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=edee7030e4d eee4e95e68daa16 23ea305ce202e5
Committed: https:/
Submitter: Zuul
Branch: master
commit edee7030e4deee4 e95e68daa1623ea 305ce202e5
Author: Piotr Mrowczynski <email address hidden>
Date: Fri May 25 12:29:38 2018 +0200
Strip signed certificate
Certificate (ca.crt) has to be striped for some application parsers
as they might require pure base64 representation of
certificate itself, without empty characters
at the beginning nor the end of file
Change-Id: I5f58e19d03abdf 040b9a5b5df2f4d d83b4c0e3a9
Closes-Bug: #1775342