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

Configure database ssl on creation #22

Merged
merged 4 commits into from Dec 14, 2017
Merged

Conversation

carbonin
Copy link
Member

This PR utilizes changes made in ManageIQ/manageiq-appliance#162 to generate ssl certs for encrypting database traffic.

It also removes conditional logic around setting the ssl option in postgresql.conf

We are always going to use ssl from now on so it doesn't need to be
and attribute.
The erb was only in the file to determine if we were using ssl or not.
It has now been removed.
Because we don't have any more erb files, this method can now
just copy the file directly
This will ensure that the server will use ssl for all connections
from the first time it starts up.
@miq-bot
Copy link
Member

miq-bot commented Dec 11, 2017

Checked commits carbonin/manageiq-appliance_console@44b6e58~...91b613f with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 5 offenses detected

lib/manageiq/appliance_console/internal_database_configuration.rb

@carbonin
Copy link
Member Author

Copy link
Member

@bdunne bdunne left a comment

Choose a reason for hiding this comment

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

👍 LGTM

Copy link
Member

@jrafanie jrafanie left a comment

Choose a reason for hiding this comment

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

:shipit:

@bdunne bdunne merged commit 4a02064 into ManageIQ:master Dec 14, 2017
@bdunne bdunne assigned bdunne and unassigned gtanzillo Dec 14, 2017
@bdunne bdunne added this to the Sprint 76 Ending Jan 1, 2018 milestone Dec 14, 2017
carbonin added a commit to carbonin/manageiq-gems-pending that referenced this pull request Apr 30, 2018
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ/manageiq-appliance_console#22

Fixes ManageIQ#4
@carbonin carbonin mentioned this pull request May 9, 2019
@carbonin carbonin deleted the ssl_by_default branch May 14, 2019 21:03
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 5, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 5, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 5, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 9, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 9, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 9, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 11, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
NickLaMuro pushed a commit to NickLaMuro/manageiq-appliance_console that referenced this pull request Mar 16, 2021
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants