• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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 jon@doe.com

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