LetsEncrypt flag provided but not defined: -preferred-chain

youds

Verified User
Joined
Jul 11, 2008
Messages
476
Location
Lancashire, UK
Hi

I am receiving the error "flag provided but not defined: -preferred-chain" when viewing LetsEncrypt update error message.

Anybody able to identify what the error means and what can I do?

Kind regards
 
Hi

Here is some more from the error message:

Code:
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.
   
2022/08/05 00:12:00 flag provided but not defined: -preferred-chain
Certificate generation failed.

Anybody else having this issue?
 
Hi

So it would seem this is happening with all new certificates. Only thing that springs to mind is that DNS is served multi-server. Otherwise, a fresh copy of DA.

Any ideas?
 
Back
Top