Skip to content

Feature: Caddy command to generate signed client certificates #3924

@ViViDboarder

Description

@ViViDboarder

It’s really cool that Caddy provides functionality like caddy trust and caddy hash-password to make installing root certs and hashing passwords for basic auth. It would be great to have something similarly simple to create and manage client certs using the built in CA rather than having to set up a new one using the steps shown here.

I’m picturing something like caddy client-create "user" to generate key and crt files with the provided user using a similar args as step above. I suspect this to be doable given Caddy is using the step libraries already. The advantage would be that Caddy would already have the root cert so Caddy would not have to import a new root CA. Revocation could be done with something like caddy client-revoke could be provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions