withTlsAllowInvalidCertificates
Method
interface MongoDBServerResource { // ... 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 Applies to
This method applies to the following types: