WIP: Phase 2 #2

Draft
dubey wants to merge 27 commits from phase2 into main
5 changed files with 624 additions and 0 deletions
Showing only changes of commit 47f9b69876 - Show all commits

View File

@ -123,6 +123,7 @@ func GenerateCertificateRequest(commonName, keyOutPath, csrOutPath string) error
Organization: []string{"KAT System"},
},
SignatureAlgorithm: x509.SHA256WithRSA,
DNSNames: []string{commonName}, // Add the CN as a SAN
}
// Create CSR