Skip to content

Conversation

@chiefnoah
Copy link

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 added 4 commits May 20, 2024 17:57
Additionall, modernizes a bit for newer versions of Go:

- Use more idiomatic errors in a few places
- Remove use of deprecated ioutil package

Fixes incorrect name for SANS: Server => Subject
@chiefnoah
Copy link
Author

rebased this on master and tested locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant