minica icon indicating copy to clipboard operation
minica copied to clipboard

Add support for putting emails and URIs in SAN field

Open chiefnoah opened this issue 9 months ago • 1 comments

SANS are allowed to contain more than just domain names and IP addresses. This PR adds the ability to specify email addresses and URIs in the Subject Alternate Name field of the generated leaf certificates.

This is of particular interest when using client certificates as authentication mechanisms. An example of this usecase can be found here.

I did a little refactoring while I was in there to update the Go version, ignored the generated artifact from go build, reduce some redundant parsing, and remove the deprecated ioutil package.

chiefnoah avatar Apr 27 '24 18:04 chiefnoah

rebased this on master and tested locally

chiefnoah avatar May 20 '24 23:05 chiefnoah