fix nats TLS unit tests (#10476)

This commit fixes the nats TLS tests by generating new certificates
(root CA, server and client) - each valid for 10y. The new certificates
don't have a common name (deprecated by X.509) but SANs instead.

Since Go 1.15 the Go `crypto/x509` package rejects certificates that
only have a common name and no SAN. See: https://golang.org/doc/go1.15#commonname
master
Andreas Auernhammer 4 years ago committed by GitHub
parent 34ea1d2167
commit 224daee391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      pkg/event/target/nats_tls_test.go
  2. 28
      pkg/event/target/testdata/certs/nats_client_cert.pem
  3. 32
      pkg/event/target/testdata/certs/nats_client_key.pem
  4. 27
      pkg/event/target/testdata/certs/nats_server_cert.pem
  5. 32
      pkg/event/target/testdata/certs/nats_server_key.pem
  6. 28
      pkg/event/target/testdata/certs/root_ca_cert.pem
  7. 32
      pkg/event/target/testdata/certs/root_ca_key.pem
  8. 2
      pkg/event/target/testdata/nats_tls_client_cert.conf

@ -19,7 +19,6 @@ package target
import (
"path"
"path/filepath"
"runtime"
"testing"
xnet "github.com/minio/minio/pkg/net"
@ -42,9 +41,6 @@ func TestNatsConnTLSCustomCA(t *testing.T) {
con, err := clientConfig.connectNats()
if err != nil {
if runtime.Version() == "go1.15" {
t.Skip()
}
t.Errorf("Could not connect to nats: %v", err)
}
defer con.Close()
@ -68,9 +64,6 @@ func TestNatsConnTLSClientAuthorization(t *testing.T) {
con, err := clientConfig.connectNats()
if err != nil {
if runtime.Version() == "go1.15" {
t.Skip()
}
t.Errorf("Could not connect to nats: %v", err)
}
defer con.Close()

@ -1,19 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIDFTCCAf0CFHzIPe2CTpos6fYYVcZD4xAMYD0FMA0GCSqGSIb3DQEBCwUAMEox
CzAJBgNVBAYTAkNBMRMwEQYDVQQIDApTb21lLVN0YXRlMQ4wDAYDVQQKDAVNaW5p
bzEWMBQGA1UECwwNTWluaW8gUm9vdCBDQTAgFw0xOTEwMTEyMDE4NTJaGA8yMTE5
MDkxNzIwMT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YeQeX6TjMhHcoYdfMTTXDVBkOYhizve2dCrSub0ZQ3n
hNSNEmiYKqaZvThB8N9iVNBzIuBQWYtkbA==
-----END EC PRIVATE KEY-----

@ -13,6 +13,6 @@ authorization {
subscribe = ">"
}
users = [
{user: "CN=localhost,OU=Client,O=Minio,C=CA", permissions: $ADMIN}
{user: "CN=localhost,OU=Client,O=MinIO,C=CA", permissions: $ADMIN}
]
}

Loading…
Cancel
Save