My domain is: https://www.londonyogafactory.co.uk/
I ran this command: sudo certbot
My web server is (include version): AWS EC2 AMI 2
The operating system my web server runs on is (include version): Amazon Linux 2 AMI
My hosting provider, if applicable, is: AWS
I can login to a root shell on my machine: Yes
I’m using a control panel to manage my site: No
The version of my client is: 0,39.0
Hi
I'm trying to force a new certificate for the domain above.
Consider using --cert-name instead of --expand, as it gives more control over which certificate is modified and it lets you remove domains as well as adding them.
usage:
certbot [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.
certbot: error: argument --cert-name: expected one argument
With certbot certificates you can see the names of the certificates. Choose the certificate which you want to expand and use that certificate name as option for --cert-name.
The user guide does not mention including a certificate name and it would be helpful if it was updated to describe where and how to use/get the certificate name.
The user guide doesn't say: "replace --expand with --cert-name". It only says: "in stead of using the option --expand please use the option --cert-name". It shouldn't be necessary for it to say "and use --cert-name in the correct way like it is explained in the --cert-name part of this documentation". Which by the way is just thirteen rows below.
The documentation assumes the reader looks up the part of --cert-name where the reader will learn how to use that option. The documentation never says anything about directly replacing the one command for another in the example.
And with "the names of the certificates" I mean the certificates known by certbot. And in stead of "which you want to expand" you could also read "which you want to change".