caddy icon indicating copy to clipboard operation
caddy copied to clipboard

Feature: Caddy command to generate signed client certificates

Open ViViDboarder opened this issue 4 years ago • 3 comments

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.

ViViDboarder avatar Dec 15 '20 03:12 ViViDboarder

I'd like to work on this.

gdhameeja avatar Dec 22 '20 10:12 gdhameeja

Hello, is this implemented?

TheAndroidGuy avatar Aug 03 '21 15:08 TheAndroidGuy

It is not.

francislavoie avatar Aug 03 '21 16:08 francislavoie