• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Lets encrypt - not a valid e-mail address

lucflash

New Pleskian
Hey guys,

we are creating lets encrypt ssl certificates through plesk cli:


Code:
/usr/sbin/plesk bin extension --exec letsencrypt cli.php -d example.com -d www.example.com --email [email protected]

That works fine, but on renewal we always get this error:

Code:
Renewal of the following Let's Encrypt certificates has failed:

 * 'Lets Encrypt shrimp-paradies.de' [days to expire: 29]
   [-] example.com
   [-] www.example.com

   Invalid response from https://acme-v01.api.letsencrypt.org/acme/new-reg.
   Details:
   Type: urn:acme:error:invalidEmail
   Status: 400
   Detail: Error creating new registration :: not a valid e-mail address

the only solution is to renew the certificate via plesk panel, where the mail field is indeed empty
is there any solution for that or do we have to renew the certificates through cli as well? every how much days?

thanks for your help
best regards
 
perhaps I do not understand fully - when / how do you get the error?
usually the email field must be filled with a valid email address when renew in plesk panel, otherwise it output a warning.

just for interest - why do you use the cli for creating when plesk/letsencrypt extension does all automatically for you including renew of the certs?
The plesk lets encrypt extension performs a daily check for certificates which are about to expire and renews them not earlier than 30 days before their expiration
 
Last edited:
Sorry, maybe i missed some information
we have several server running and perform the lets encrypt creation process automatically instead of filling the field manually via plesk panel

the creation process works perfectly, but for the renewal process the email adress is missing, because the plesk cli programm doesnt seem to save the email address used at creation for performing the renewal of lets encrypt certificate

in my opinion this is a bug
 
Back
Top