package main
import "github.com/nats-io/nats.go"
func main() {
_, err := nats.Connect(
"localhost:4443", nats.Secure(),
// nats.RootCAs("./tests/configs/certs2/ca.pem"),
nats.ClientCert("./tests/configs/certs2/client-cert.pem", "./tests/configs/certs2/client-key.pem"),
)
if err != nil {
panic(err)
}
}