Let's Encrypt error...

TheMask

Verified User
Joined
Jan 20, 2011
Messages
99
I get the following error when I want to add ssl to a new domain with Let's Encrypt?


Incorrect Usage: flag provided but not defined: -preferred-chain

NAME:
lego run - Register an account, then create and install a certificate

USAGE:
lego run [command options] [arguments...]

OPTIONS:
--no-bundle Do not create a certificate bundle by adding the issuers certificate to the new certificate.
--must-staple Include the OCSP must staple TLS extension in the CSR and generated certificate. Only works if the CSR is generated by lego.
--run-hook value Define a hook. The hook is executed when the certificates are effectively created.

2021/10/08 12:50:57 flag provided but not defined: -preferred-chain
Certificate generation failed.
 
Hi TheMask,

I've had the same problem since yesterday morning. For me it was fixed after updating lego to the newest available version (953d5c85145b6a2b9a52f2d919faf23e04a359b3) via CustomBuild. Hope it will be the solution for you too!
 
Back
Top