feat: Command to generate a CA.
This commit is contained in:
1 parent
b593b083de
commit
76854f4e4b
5 files changed
+120
-1
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
package pki
|
||||
|
||||
const PEMTypePrivateKey = "PRIVATE KEY"
|
||||
const PEMTypeCertificate = "CERTIFICATE"
|
||||
Reference in new issue
Block a user