Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor pki code #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

refactor pki code #65

wants to merge 1 commit into from

Conversation

voigt
Copy link
Collaborator

@voigt voigt commented Mar 24, 2023

This PR does some refactoring for #23 by:

  • the creation of CA and CSR is now handled by a handler function to decouple actual creation and potential writing of files
  • introduce methods for Certificate and CertificateRequest structs
  • make file creation a little more generic/clean

This will allow for a cleaner implementation for the creation of client certs.

@voigt voigt marked this pull request as ready for review March 24, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant