summaryrefslogtreecommitdiff
path: root/jstests/sslSpecial/SERVER-26369.js
blob: 96dd0d15183add815a9d0c04fc3443b272a7912b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';
(function() {
    load("jstests/ssl/libs/ssl_helpers.js");

    var st = new ShardingTest({
        shards: {rs0: {nodes: 1}},
        mongos: 1,
    });

    st.rs0.restart(0, {
        sslMode: "allowSSL",
        sslPEMKeyFile: "jstests/libs/password_protected.pem",
        sslPEMKeyPassword: "qwerty",
        sslCAFile: "jstests/libs/ca.pem",
        shardsvr: ''
    });

    st.stop();
})();