add self CertMode

This commit is contained in:
Yuzuki616
2023-08-17 00:21:15 +08:00
parent 27702d353a
commit 42e86bf94c
8 changed files with 359 additions and 304 deletions

7
node/cert_test.go Normal file
View File

@@ -0,0 +1,7 @@
package node
import "testing"
func Test_generateSelfSslCertificate(t *testing.T) {
t.Log(generateSelfSslCertificate("domain.com", "1.pem", "1.key"))
}