Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`.