mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 14:15:25 +08:00
fixed comment
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
This commit is contained in:
parent
94b89dfff1
commit
1cbbd52e7d
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func genCerts(clientKey *ed25519.PrivateKey, name *pkix.Name) (*x509.Certificate
|
|||
return cert, ca, nil
|
||||
}
|
||||
|
||||
// genCerts generates a client certificate using calls to openssl and returns the certificate and root CA
|
||||
// genOpenSSLCerts generates a client certificate using calls to openssl and returns the certificate and root CA
|
||||
func genOpenSSLCerts(key *ed25519.PrivateKey, name *pkix.Name) (*x509.Certificate, *x509.Certificate, error) {
|
||||
if err := tls.SaveKey("/tmp/", "client.key", *key); err != nil {
|
||||
return nil, nil, fmt.Errorf("failed to store client key %w", err)
|
||||
|
|
Loading…
Add table
Reference in a new issue