23 lines
451 B
Markdown
Raw Normal View History

2019-11-01 04:12:40 -06:00
# Quick Start for Let's Encrypt with Node.js
```js
npm install --save greenlock-express
```
Manage via API or the config file:
`~/.config/greenlock/manage.json`: (default filesystem config)
```json
{
2019-11-01 15:14:07 -06:00
"subscriberEmail": "letsencrypt-test@therootcompany.com",
"agreeToTerms": true,
"sites": {
"example.com": {
"subject": "example.com",
"altnames": ["example.com", "www.example.com"]
}
}
2019-11-01 04:12:40 -06:00
}
```