MariaDB
TMA-MARIADB-2.5
Ensure Non-Default, Unique Cryptographic Material is in Use
Descrição
The cryptographic material used by MariaDB, such as digital certificates and encryption keys, should be used only for MariaDB and only for one instance. Default cryptographic material should not be used since it is not unique to the instance.
Como é verificado
Método de auditoria: Revisão manual
Review all cryptographic material: openssl x509 -in <datadir or ssl_cert>/server-cert.pem -subject -noout | grep Auto_Generated_Server_Certificate. Any output (auto-generated cert) or material shared with other instances/purposes is a finding.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Issue a unique certificate and key from your CA for this instance, set ssl_cert/ssl_key/ssl_ca under [mariadbd], and restart or run ALTER INSTANCE RELOAD TLS (MariaDB: FLUSH SSL).
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- mariadbdatabasetlscryptomanual
- Referência
- CIS MariaDB 10.11 Benchmark v1.0.0 - 2.5 Ensure Non-Default, Unique Cryptographic Material is in Use