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

the gencfg_jdbc role does not support pem file with multiple certificates #1059

Closed
cuddlyporcupine opened this issue Oct 18, 2023 · 5 comments · Fixed by #1097
Closed

the gencfg_jdbc role does not support pem file with multiple certificates #1059

cuddlyporcupine opened this issue Oct 18, 2023 · 5 comments · Fixed by #1097
Assignees
Labels
Bug Fix Fix for one or more bugs Bug Report Something isn't working Triage Issue was triaged and acknowledged

Comments

@cuddlyporcupine
Copy link
Contributor

cuddlyporcupine commented Oct 18, 2023

the jdbccfg template file will only create 1 entry in the certificates array and will stuff all the certificates in the provided pem file into this array entry.

the jdbccfg template should loop over the contents in the pem file and create an array entry for each certificate found in the pem file

@maulik-modi22
Copy link

To replicate the issue, use https://truststore.pki.rds.amazonaws.com/ca-central-1/ca-central-1-bundle.pem as an example

@maulik-modi22
Copy link

maulik-modi22 commented Nov 1, 2023

@andrercm , appreciate your inputs on this, it is required for AWS RDS SQL support.

can you please add Scott Wallace as the watcher?

@andrercm
Copy link
Contributor

andrercm commented Nov 1, 2023

Alright, we'll assign this to be fixed in the upcoming ansible-devops releases

@andrercm andrercm self-assigned this Nov 1, 2023
@andrercm andrercm added Bug Report Something isn't working Bug Fix Fix for one or more bugs Triage Issue was triaged and acknowledged labels Nov 1, 2023
andrercm added a commit that referenced this issue Nov 10, 2023
@andrercm
Copy link
Contributor

@maulik-modi22 @cuddlyporcupine I have worked on a fix for this issue within the PR: #1097

@maulik-modi22
Copy link

thank you @andrercm for prioritising it, eager to get it merged and released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Fix for one or more bugs Bug Report Something isn't working Triage Issue was triaged and acknowledged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants