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

[bitnami/rabbitmq] Add environment variable to set password of rabbitmq ssl key file #76085

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdulive
Copy link
Contributor

@bdulive bdulive commented Jan 8, 2025

Description of the change

This change added 2 environment variables to enable setting password for SSL key file.

  • Added "RABBITMQ_SSL_PASSWORD" to set password for the ssl key file specified by "RABBITMQ_SSL_KEYFILE"

  • Added "RABBITMQ_MANAGEMENT_SSL_PASSWORD" to set password for the ssl key file specified by "RABBITMQ_MANAGEMENT_SSL_KEYFILE"

Benefits

When configuring a password protected SSL key file by RABBITMQ_SSL_KEYFILE or RABBITMQ_MANAGEMENT_SSL_KEYFILE, there's no way to set the password via environment variable. Must set the password in the configuration file with "ssl_options.password=" and "management.ssl.password="

With this change, the password can be set via environment variable, and the corresponding "ssl_options.password=" and "management.ssl.password=" is generated in the configuration file.

Applicable issues

@github-actions github-actions bot added rabbitmq triage Triage is needed labels Jan 8, 2025
@github-actions github-actions bot requested a review from carrodher January 8, 2025 10:08
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Jan 8, 2025
@github-actions github-actions bot removed the triage Triage is needed label Jan 8, 2025
@github-actions github-actions bot removed the request for review from carrodher January 8, 2025 10:22
@github-actions github-actions bot requested a review from fmulero January 8, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress rabbitmq verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bitnami/rabbitmq] Need environment variable to set TLS key file passphrase
3 participants