Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for ssl key/cert as base64 string #20

Merged
merged 3 commits into from
Jan 24, 2024
Merged

Conversation

CDimonaco
Copy link
Member

As the title suggest, this pr adds support for ssl key/certs as base64.

This is useful when we need to pass multiple line ssl certificates through cli, encoding as base64 ensure single line and preserve multiline content

@CDimonaco CDimonaco self-assigned this Jan 23, 2024
@@ -276,6 +276,8 @@ These variables are the defaults of our roles, if you want to override the prope
| web_admin_username | Username of the admin user in web application | admin |
| enable_alerting | Enable the alerting mechanism on web project | false |
| install_nginx | Install nginx | true |
| nginx_ssl_cert_as_base64 | Nginx ssl certificate provided as base64 string | false |
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess nginx_ssl_cert and nginx_ssl_key are not documented 😞

Copy link
Member Author

Choose a reason for hiding this comment

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

I will document them in the other pr #21

Vagrantfile Outdated
prometheus_url: "http://localhost",
web_admin_password: "adminpassword",
trento_server_name: "trento.local trento.local:8080"
trento_server_name: "trento.local trento.local:8080",
nginx_ssl_cert_as_base64: "false",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to put them with the default value?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, it was a reminder for me, but we can remove them

@CDimonaco CDimonaco merged commit 2a64b9a into main Jan 24, 2024
@stefanotorresi stefanotorresi deleted the base64_ssl_certs branch January 25, 2024 13:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants