Skip to content

Conversation

@szaimen
Copy link
Collaborator

@szaimen szaimen commented Nov 28, 2025

Add the directive: Add the TLS_CACERT directive pointing to your certificate file:

TLS_CACERT /path/to/your/ca.pem
TLS_REQCERT hard

Signed-off-by: Simon L. <[email protected]>
@szaimen szaimen added this to the next milestone Nov 28, 2025
@szaimen szaimen added 2. developing Work in progress enhancement New feature or request labels Nov 28, 2025
echo "" >> "$CERTIFICATE_BUNDLE"

# Check if variable is a simple switch. For example used by postgres and mysql tls connections
if [ "${!certificate}" != "yes" ]; then
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should grep foe begin and end certificate

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should probably grep for BEGIN CERTIFICATE and END CERTIFICATE

Base automatically changed from enh/noid/allow-configure-mysql-root-cert to main December 3, 2025 11:43
@szaimen szaimen modified the milestones: v12.2.0, next Dec 3, 2025
fi
}

create_global_root_cert() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the certs should only be written out once at container start if possible and not multiple times


# Default vars
CERTIFICATES_ROOT_DIR="/var/www/html/data/certificates"
CERTIFICATE_BUNDLE="/var/www/html/resources/config/ca-bundle.crt"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should use a different path now that we can specify one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants