I try to generate a cert for my zabbix server. I Have Apache. When i try to generate the certificate with cerbot i have an error. I have the host recording on the DNS server.
Try using a public DNS server, like: dig +short zabbix.portlarochelle.com @8.8.8.8 dig +short zabbix.portlarochelle.com @1.1.1.1 dig +short zabbix.portlarochelle.com @9.9.9.9
Yes you can get a certificate for a publicly resolvable domain name. Currently the domain name zabbix.portlarochelle.com does not have any records associated with it, at least from the point of view of the internet.
You have an A record for the root domain and I see a website with an nginx server. That looks fine.
But, as noted, you do not have an A record for your zabbix subdomain. You need an A and/or AAAA (for IPv6) for people to reach that domain from the public internet. You are also using an HTTP Challenge with the --apache plug-in so need an A and/or AAAA record for that.
You could instead use the DNS Challenge but this is often more difficult to setup. And, people on the public internet still will not be able to reach that zabbix subdomain without the A/AAAA records.
dig +noall +answer portlarochelle.com
portlarochelle.com. 189 IN A 54.37.151.51
dig +noall +answer zabbix.portlarochelle.com
Thank you for your answer.
Maybe i didn't understand anything..
One question, i thought the encryption DNS on OVH was for the internet acess.
I dont want to my zabbix server is open on internet with the adress zabbix.portlarochelle.com
I just want not have anymore the security message from the brower why dont reconize an auto signed certificat by generate a certificat with lets encrypt.
Am i wrong ?!