Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split certificate chain #159

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ZzubbuzZ
Copy link

@ZzubbuzZ ZzubbuzZ commented May 7, 2024

Fix #148

@@ -194,25 +194,44 @@ func (c *GoogleCAS) createCasClient(ctx context.Context, resourceNamespace strin
// Additionally, for each PEM block, all whitespace is trimmed and a single new line is
// appended, in case software consuming the resulting secret writes the PEM blocks
// directly into a config file without parsing them.
//
// Unfortunatly, Google CAS API can send multiple certs within the same pemCertificateChain
// element, so we (Arkea) have to parse and re-order this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who is (Arkea)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Certificate chain is not split correctly
2 participants