Files
mstore/pkg/auxx509/x509cert_test.go
T
2026-01-30 00:15:20 +02:00

16 lines
254 B
Go

package auxx509
import (
"fmt"
"testing"
"github.com/stretchr/testify/require"
)
func TestCert(t *testing.T) {
caCert, caKey, err := CreateSelfSignedCert("test1")
require.NoError(t, err)
fmt.Println(string(caCert))
fmt.Println(string(caKey))
}