Hello all,
in the documentation Configurer les certificats | Centreon Documentation , when you give the command line to create an autosigned certificate, I think there is an issue in the command.
openssl req -new -subj '/CN={server_hostname}' \
-addext "subjectAltName = CN:{server_hostname}, DNS:{alt_poller_DNS}, IP:{alt_poller_IP}" \
-days 365 -nodes -x509 \
-newkey rsa:2048 -keyout {key} -out {cert}
the parameter “-x509” (autosigned) must be BEFORE the parameter “-days 365”. there is no sense to give the duration before to say there is an autosigned certificate (x509).
But maybe am I wrong :-D
Laurent
