We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33d3904 + 3d92ea9 commit 9d75675Copy full SHA for 9d75675
README.md
@@ -31,6 +31,12 @@ $ pm2 set pm2-webshell:port 7890
31
32
# HTTPS
33
$ pm2 set pm2-webshell:https true
34
+
35
+# SSL Certificate file
36
+$ pm2 set pm2-webshell: ssl_cert ~/path/to/ssl.cert
37
38
+# SSL Key file
39
+$ pm2 set pm2-webshell: ssl_key ~/path/to/ssl.key
40
````
41
42
## Uninstall
app.js
@@ -103,8 +103,8 @@ ssh_conf.users[conf.username] = conf.password;
103
104
if (JSON.parse(conf.https) === true) {
105
ssh_conf['https'] = {
106
- "key": "./term-default.key",
107
- "cert": "./term-default.crt"
+ "key": conf.ssl_key || "./term-default.key",
+ "cert": conf.ssl_cert || "./term-default.crt"
108
};
109
}
110
0 commit comments