plesk / letsencrypt-plesk

Let’s Encrypt extension for Plesk gives all Plesk users the power to get a free Let’s Encrypt certificate with just a couple of clicks.
https://www.plesk.com/extensions/letsencrypt/
180 stars 25 forks source link

InvalidEmail when using cli.php script #164

Closed slue closed 7 years ago

slue commented 7 years ago

When using the cli version of the extension, I get the following results:

plesk bin extension --exec letsencrypt cli.php -d mydomain.com
Executing /opt/psa/admin/plib/modules/letsencrypt/scripts/cli.php failed: Invalid response from https://acme-v01.api.letsencrypt.org/acme/new-reg: Error creating new registration.
Type: urn:acme:error:invalidEmail.

exit status 1

When doing it in the administration view of plesk, it works.

I do not know if this is right here, as I cannot find any cli.php script in this repo. Maybe you could guide me to the right direction?

thanks, Christoph

UFHH01 commented 7 years ago

Hi slue,

you should ALWAYS include the option string "--email YOUR-EMAIL-ADRESS@YOUR-DOMAIN.COM" , because you HAVE TO use a registered eMail - address in each command, where validation from Let's Encrypt is involved. ;-)

slue commented 7 years ago

HI @UFHH01

thanks a lot. Can you tell me where I could have gotten this Information by myself? Is there any kind of documentation?

thanks, Christoph