mirror of
https://github.com/minio/minio.git
synced 2025-12-08 00:32:28 -05:00
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
This commit is contained in:
committed by
GitHub
parent
34ea1d2167
commit
224daee391
@@ -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}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user