Certbot validation certificate failed

Hello, I would like to create certificate with letsencrypt to configure https on my serveur but I'm facing issues while I ran this command :

certbot --nginx -d secured-office.com -d aws.secured-office.com

My domain is: secured-office.com

Any clue ? do I need to run other command ?

Thanks!

My first observation would be that the server responding for aws.secured-office.com is Apache, not nginx. Maybe try the same with certbot --apache

3 Likes

amen! you are right!

Indeed the apache service was also running on my server. After I stopped the service it works now

2 Likes