MongoDBServerResource.WithTlsAllowInvalidCertificates
Method
type MongoDBServerResource interface { // ... omitted for brevity WithTlsAllowInvalidCertificates() MongoDBServerResource}Signature
method
WithTlsAllowInvalidCertificates builderConfigures the MongoDB server to accept TLS connections whose peer certificate cannot be validated, by passing
--tlsAllowInvalidCertificates to mongod.WithTlsAllowInvalidCertificates() MongoDBServerResourceReturns
MongoDBServerResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: