Skip to content

Conversation

@jaideepkarande
Copy link
Contributor

… all be defined to use encrypted mode traffic"

https://perconadev.atlassian.net/browse/PXC-3583

Problem:
validate-config does not work when wsrep is enabled.

Description:
If pxc-encrypt-cluster-traffic=ON, PXC requires socket.ssl_{key,cert,ca}, but these are not yet loaded during validate-config. This causes a false failure: "ssl-ca, ssl-cert and ssl-key must all be defined".

Resolution:
If pxc_encrypt_cluster_traffic is enabled, then it is mandatory to define ssl-ca, ssl-cert, and ssl-key.
However with --validate-config complete initialization is not performed, and skips calling server_main_callback initializer and wsrep_ssl_artifacts_check call, so we need to skip the verification of SSL configuration.
--validate-config option enables the startup configuration to be checked for problems without running the server in operational mode.

… all be defined to use encrypted mode traffic"

https://perconadev.atlassian.net/browse/PXC-3583

Problem:
validate-config does not work when wsrep is enabled.

Description:
If pxc-encrypt-cluster-traffic=ON, PXC requires socket.ssl_{key,cert,ca},
but these are not yet loaded during validate-config.
This causes a false failure: "ssl-ca, ssl-cert and ssl-key must all be defined".

Resolution:
If pxc_encrypt_cluster_traffic is enabled, then it is mandatory
to define ssl-ca, ssl-cert, and ssl-key.
However with --validate-config complete initialization is not performed,
and skips calling server_main_callback initializer and
wsrep_ssl_artifacts_check call, so we need to skip the verification
of SSL configuration.
--validate-config option enables the startup configuration to be
checked for problems without running the server in operational mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant