ceph-ansible/roles/ceph-dashboard
Dimitri Savineau fa8b58fb33 ceph-dashboard: fix TLS cert openssl generation
With OpenSSL version prior 1.1.1 (like CentOS 7 with 1.0.2k), the -addext
doesn't exist.
As a solution, this uses the default openssl.cnf configuration file as a
template and add the subjectAltName in the v3_ca section. This temp openssl
configuration file is removed after the TLS certificate creation.
This patch also move the run_once statement at the block level.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1978869

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 5e0ace7e54)
2021-08-09 15:14:38 -04:00
..
meta Merge cephmetrics/dashboard-ansible repo 2019-05-16 16:39:13 +02:00
tasks ceph-dashboard: fix TLS cert openssl generation 2021-08-09 15:14:38 -04:00