Certbot: error: unrecognized arguments: www.vetzz.org


#1

I unable to get the certificate on lightsail instance please help me:)

Error Message:

Requesting to rerun /home/bitnami/letsencrypt/letsencrypt-auto with root privileges…
usage:
letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] …

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.

My domain is: www.vetzz.org

I ran this command:

/home/bitnami/letsencrypt/letsencrypt-auto certonly -w /home/bitnami/apps/wordpress/htdocs -d vetzz.org-d www.vetzz.org -d vetzz.org -d www.vetzz.org

It produced this output:

Requesting to rerun /home/bitnami/letsencrypt/letsencrypt-auto with root privileges…
usage:
letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] …

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.


#2

You’re missing a space there and you seem to have all your domains listed twice.


#3

_az

how to unlisted my domain?
please tell me


#4

Do you see how you put all the domains into the command twice?


#5

we I remove duplicate vetzz.org they are runs
but

I got this error right now

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.vetzz.org
    Type: None
    Detail: DNS problem: NXDOMAIN looking up A for www.vetzz.org

  • 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.


#6

So from that error, you can clearly see that www.vetzz.org doesn’t exist in DNS.

To fix that, you would go to Route53 and add a DNS record for it.


#7

Yaa thanks

and if need for ssl for all *.vetzz.org
then What command should i use to get the certificate?


#8

If you want to use wildcards, then you will have to connect Certbot up with your Route53 credentials and use DNS validation.

You can try the Route53 plugin for Certbot, or another acme client that supports it natively like acme.sh or lego, or other script hooks.


#9

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