certificate_ expiration_ hours_ warning
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: System Variables for MariaDB Enterprise Server
Topics on this page:
In 10.6 ES:
Print warning about certificate expiration if the X509 certificate used for wsrep connections is about to expiren in hours given as an argument. If the value is 0, warnings are not printed.
In 10.6 CS, 10.5 ES, 10.5 CS, 10.4 ES, 10.4 CS, 10.3 ES, 10.3 CS, 10.2 ES, 10.2 CS:
See also: System Variables for MariaDB Enterprise Server 10.6, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
wsrep_certificate_expiration_hours_warning system variable can be set in a configuration file:
[mariadb] ... # warn 3 days before certificate expiration wsrep_certificate_expiration_hours_warning=72
The global value of the
wsrep_certificate_expiration_hours_warning system variable can also be set dynamically at runtime by executing SET GLOBAL:
SET GLOBAL wsrep_certificate_expiration_hours_warning=72;
wsrep_certificate_expiration_hours_warning system variable is set dynamically at runtime, its value will be reset the next time the server restarts. To make the value persist on restart, set it in a configuration file too.
wsrep_certificate_expiration_hours_warning system variable can be used to configure certificate expiration warnings for MariaDB Enterprise Cluster, powered by Galera:
wsrep_certificate_expiration_hours_warningsystem variable is set to
0, certificate expiration warnings are not printed to the MariaDB Error Log.
wsrep_certificate_expiration_hours_warningsystem variable is set to a value
N, which is greater than
0, certificate expiration warnings are printed to the MariaDB Error Log when the node's certificate expires in
Nhours or less.
Product Default Value