Skip to content

Commit a066597

Browse files
committed
PHPC-1180: Do not require weak cert validation for STANDALONE_SSL
Per my original comment in the ticket, this URI option could conflict with older SSL-specific tests that relied on peer verification using PEM files. We'll still need to investigate those tests later, but it turns out this option wasn't needed for other tests to connect to an SSL server as previously assumed.
1 parent 8dabad6 commit a066597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.scripts/setup_mo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ case $DEPLOYMENT in
2525
;;
2626
STANDALONE_SSL)
2727
${TRAVIS_BUILD_DIR}/.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR}/scripts/presets/travis/standalone/standalone-ssl.json start > /tmp/mo-result.json
28-
cat /tmp/mo-result.json | tail -n 1 | php -r 'echo json_decode(file_get_contents("php://stdin"))->mongodb_uri, "/?ssl=true&sslallowinvalidcertificates=true";' > /tmp/uri.txt
28+
cat /tmp/mo-result.json | tail -n 1 | php -r 'echo json_decode(file_get_contents("php://stdin"))->mongodb_uri, "/?ssl=true";' > /tmp/uri.txt
2929
;;
3030
REPLICASET)
3131
${TRAVIS_BUILD_DIR}/.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR}/scripts/presets/travis/replica_sets/replicaset.json start > /tmp/mo-result.json

0 commit comments

Comments
 (0)