How to use the ssl function from optimist

Find comprehensive JavaScript optimist.ssl code examples handpicked from public code repositorys.

67
68
69
70
71
72
73
74
75
76
77
78
    sshuser = opts.sshuser;
}


if (opts.sslkey && opts.sslcert) {
    opts.ssl = {};
    opts.ssl.key = fs.readFileSync(path.resolve(opts.sslkey));
    opts.ssl.cert = fs.readFileSync(path.resolve(opts.sslcert));
}



fork icon0
star icon0
watch icon0