Hi all ! i’m trying to secure centreon plateform in https with the official documentation, all is working, apache it’s fine, my files are correctly configured, but i got a unexpected error with my Certificat into my Browser (Chrome/ Mozilla is same) , that return me that:
i’m sure to do the good instruction when i created my CSR. I used an local Autority Certificate in my domain (ADCS) that give me a good certificat (.cer / .pem) .
So i’m totaly done :(
Didi you have any solution or idea?
Page 1 / 1
Hello @tsuko ,
Did you import the CA that you used to create the self-signed certificate? You also need to use one of the FQDNs included in the certificate to connect to the web interface.
Regards
hi @cg-tw ! i didn’t create a self-signed certificate! my Centreon is in the same domain with my ADCS
I’ve just create a CSR for my ADCS who give me a good .cer for my debian centreon vm and i’ve import my centreon.cert + CAroot.cert in the correct folder ( etc/ssl/certs ) and added my centreon.key in etc/ssl/private . And i’ve specified in my website apache.conf the good location to found the certificat but when i try to connect it in chrome/mozilla that give me this error of certificat :(
Hello @tsuko
If you accept for now under an incognito/private window
Do you see something like this? (the top CA cert and te signed one provided?)
Does the address match the DNS name or IP? Also, any errors under /var/log/apache/error_log? (or similar under your debian)
hi @ponchoh i doesnt seen something like u : “Certificate Subject Alternatie Name”
but in “ etc/ssl/openssl.conf “ i wrote correctly the good information like this:
i alt_names ] IP.1 = 10.x.x.x DNS.1 = srv-centreon.xxxx.lan
DNS.2 = srv-centreon
o v3_ca ] subjectAltName = @alt_names
But that doesnt appear in my certificat ...so my apache.conf don’t look inside this configfile to take this informations?
@tsuko , the “/etc/ssl/openssl.conf” changes can be done through there or directly on the request. But in this case is not a concern to you as you are using a different flow for a self-signed certificate, one through your ADCS.
HI @ponchoh i’ve resolved my problem with a new config file created when i apply a insert SAN directive. But i’m meet a new probleme now i can’t add a new host or autodiscoevery doesnt work xD ...What wrong with that? did Gorgoned need to get the config file original? i absolulty don’t know! i will search more and give u a feedback quickly!
HI @ponchoh i encounter this following problem now :
The HTTPS website is working, but when i try to use discovery job or just add a new hosts that appear :
i dont know why !!!..i’ve do a good directive:
i had create a new config (srv-centreon.config) into i add a requiert SAN to create my CSR for my Own CA Domain (ADCS). After my CA had signed and returned a valid Certificat (certnew.cer + certnew.p7b) and the CA.cer . I’ve cpy them into my certs files (just changed the ext* : cer=>pem )
So where is this ”local issuer certificate” that they requiert…??
@tsuko from your central a couple of things (update the URL with yours)
I am not an expert at MS certs, so there might be more to it.
hi @ponchoh that look like to work ! thanks u very much it’s my fault...i didn’t expect just an files extension will make this error sorry i need to learn more about certificats SSL in debian environnement !