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.
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.