• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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