Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drkno/cpanel-dns
Node, python and certbot clients for updating DNS controlled by cpanel
https://github.com/drkno/cpanel-dns
api certbot client cpanel dns
Last synced: 25 days ago
JSON representation
Node, python and certbot clients for updating DNS controlled by cpanel
- Host: GitHub
- URL: https://github.com/drkno/cpanel-dns
- Owner: drkno
- Created: 2018-10-28T11:55:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T10:54:25.000Z (about 6 years ago)
- Last Synced: 2024-11-05T16:34:53.048Z (2 months ago)
- Topics: api, certbot, client, cpanel, dns
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Cpanel DNS
Automation of Cpanel in node and python3, enabling automated issuing of wildcard certificates from letsencrypt.
This tool expects to be installed to `/opt/cpanel-dns`
### Creating Initial Certificates
1. Create a file called `secrets.json` containing:
```js
{
"cpanelHost": "http://cpanel.example.com",
"cpanelDomain": "example.com",
"cpanelUsername": "username",
"cpanelPassword": "password"
}
```
2. Configure nginx as required.
3. Run `[email protected] CERT_DOMAIN=example.com ./issue_cert.sh### Renewing Certificates
Call `[email protected] ./renew_cert.sh`.