| 138 | describe: 'Disables CSRF protection - NOT RECOMMENDED', | 138 | describe: 'Disables CSRF protection - NOT RECOMMENDED', |
| 139 | }).option('ssl', { | 139 | }).option('ssl', { |
| 140 | type: 'boolean', | 140 | type: 'boolean', |
| 141 | default: false, | 141 | default: null, |
| 142 | describe: 'Enables SSL', | 142 | describe: 'Enables SSL', |
| 143 | }).option('certPath', { | 143 | }).option('certPath', { |
| 144 | type: 'string', | 144 | type: 'string', |
| 145 | default: 'certs/cert.pem', | 145 | default: null, |
| 146 | describe: 'Path to SSL certificate file', | 146 | describe: 'Path to SSL certificate file', |
| 147 | }).option('keyPath', { | 147 | }).option('keyPath', { |
| 148 | type: 'string', | 148 | type: 'string', |
| 149 | default: 'certs/privkey.pem', | 149 | default: null, |
| 150 | describe: 'Path to SSL private key file', | 150 | describe: 'Path to SSL private key file', |
| 151 | }).option('whitelist', { | 151 | }).option('whitelist', { |
| 152 | type: 'boolean', | 152 | type: 'boolean', |