Skip to content

Option to override trust store used to tls-verify the ACME server #2454

Open
@bn-jbischko

Description

@bn-jbischko

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.

How do you use lego?

Binary

Detailed Description

Lego has a --tls-skip-verify option, to skip verification of the ACME-server's TLS certificate altogether. From the help text:

   --tls-skip-verify                                            Skip the TLS verification of the ACME server. (default: false)

In some cases, when using a custom ACME-server to attain client certificates, it would be useful to have a similar option, that enables one to specify a pem bundle used to verify the ACME-server connection instead of skipping verification altogether, say --trusted-acme-servers. I'm aware, that I could edit the system's trust store, but in some cases that is not feasable or wanted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions