Documentation ¶
Index ¶
- func GenerateED25519Key(privateKeyPath string, verbose bool) error
- func Step1_MakeCertificatAuthority(pathCA string, verbose bool)
- func Step2_MakeEd25519PrivateKeys(names []string, odirCert string, verbose bool)
- func Step3_MakeCertSigningRequests(names []string, emails []string, odirCert string)
- func Step4_MakeCertificates(odirCA string, names []string, odirCerts string, verbose bool)
- func Step5_ViewCertificate(path string)
- func Step6_LoadKeyPair(privateKeyPath, certPath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateED25519Key ¶
GenerateED25519Key generates an ED25519 key pair and saves the private key to a specified file.
func Step1_MakeCertificatAuthority ¶
pathCA "my-keep-private-dir" is the default.
func Step2_MakeEd25519PrivateKeys ¶
name might be "client" or "node"; odirCert default might be "static/certs/client".
func Step4_MakeCertificates ¶
func Step6_LoadKeyPair ¶
func Step6_LoadKeyPair(privateKeyPath, certPath string)
optional, for further use of keys.
typcially:
privateKeyPath = "static/certs/server/node.key" certKeyPath = "static/certs/server/node.crt"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.