diff options
-rw-r--r-- | jstests/ssl/ssl_cert_selector_apple.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/ssl/ssl_cert_selector_apple.js b/jstests/ssl/ssl_cert_selector_apple.js index 2de17aea5f5..aa836e74d2e 100644 --- a/jstests/ssl/ssl_cert_selector_apple.js +++ b/jstests/ssl/ssl_cert_selector_apple.js @@ -47,8 +47,8 @@ requireSSLProvider('apple', function() { return log.search('Certificate selector returned no results') >= 0; } // Valid search criteria should show our Subject Names. - const certOK = log.search('Server Certificate Name: ' + cert.name) >= 0; - const clusOK = log.search('Client Certificate Name: ' + cluster.name) >= 0; + const certOK = log.search('\"config_serverSubjectName\":\"' + cert.name) >= 0; + const clusOK = log.search('\"config_clientSubjectName\":\"' + cluster.name) >= 0; return certOK && clusOK; }, "Starting Mongod with " + tojson(opts), 10000); |