We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b8233a commit d414523Copy full SHA for d414523
.evergreen/run-tests.sh
@@ -18,7 +18,12 @@ fi
18
if [ "$SSL" != "nossl" ]; then
19
export MONGOC_TEST_SSL_WEAK_CERT_VALIDATION="on"
20
export MONGOC_TEST_SSL_PEM_FILE="tests/x509gen/client.pem"
21
- export MONGOC_TEST_SSL_CA_FILE="tests/x509gen/ca.pem"
+ sudo cp tests/x509gen/ca.pem /usr/local/share/ca-certificates/cdriver.crt || true
22
+ if [ -f /usr/local/share/ca-certificates/cdriver.crt ]; then
23
+ sudo update-ca-certificates
24
+ else
25
+ export MONGOC_TEST_SSL_CA_FILE="tests/x509gen/ca.pem"
26
+ fi
27
fi
28
29
export MONGOC_ENABLE_MAJORITY_READ_CONCERN=on
0 commit comments