Getting error while trying to get certbot ssl certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:
sudo certbot --apache
It produced this output:

The following errors were reported by the server:

Type: unauthorized
Detail: Incorrect validation certificate for tls-sni-01 challenge.
from Received 1 certificate(s), first
certificate had names “chandan-mohit-chatbot”

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

My web server is (include version): apache

The operating system my web server runs on is (include version): Ubuntu16.04

My hosting provider, if applicable, is: AWS

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

Hi @mshah890,

What version of Certbot are you running?

Could you post the associated log file from /var/log/letsencrypt?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.