feat: Command to generate a CA.

This commit is contained in:
jmug committed 2026-10-21 00:13:31 -07:00
1 parent b593b083de
commit 76854f4e4b
5 files changed
+120 -1

No files matched your search

+4
View File
@@ -2,4 +2,8 @@ package pki
import "os"
// RW only by the owner.
const PrivateKeyFilePerms os.FileMode = 0600
// W by owner, R by others.
const CertFilePerms os.FileMode = 0644
+4
View File
@@ -0,0 +1,4 @@
package pki
const PEMTypePrivateKey = "PRIVATE KEY"
const PEMTypeCertificate = "CERTIFICATE"