Skip to main content

Websupport DNS Authenticator plugin for Certbot

Project description

Certbot plugin for authentication using Websupport REST API

This is a plugin for Certbot that uses the Websupport REST API to allow Websupport customers to prove control of a domain name.

Usage

  1. Obtain an API key and API secret (see Account Page)

  2. Install the plugin using pip install certbot-plugin-websupport

  3. Create a websupport.ini config file with the following contents and apply chmod 600 websupport.ini on it:

    dns_websupport_api_key = APIKEY
    dns_websupport_api_secret = SECRET
    

    Replace APIKEY with your Websupport API key, SECRET with your API secret and ensure permissions are set to disallow access to other users.

  4. Run certbot and direct it to use the plugin for authentication and to use the config file previously created:

    certbot certonly -a dns-websupport --dns-websupport-credentials websupport.ini -d domain.com
    

    Add additional options as required to specify an installation plugin etc.

Please note that this solution is usually not relevant if you're using Websupport's web hosting services as Websupport offers free automated certificates for all simplehosting plans having SSL in the admin interface.

Updates

This plugin can be updated by running:

pip install certbot-plugin-websupport --upgrade

Wildcard certificates

This plugin is particularly useful when you need to obtain a wildcard certificate using dns challenges:

certbot certonly -a dns-websupport --dns-websupport-credentials websupport.ini -d domain.com -d \*.domain.com

Automatic renewal

You can setup automatic renewal using crontab with the following job for weekly renewal attempts:

0 0 * * 0 certbot renew -q -a dns-websupport --dns-websupport-credentials /etc/letsencrypt/websupport.ini

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certbot_plugin_websupport-0.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

certbot_plugin_websupport-0.2.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file certbot_plugin_websupport-0.2.0.tar.gz.

File metadata

File hashes

Hashes for certbot_plugin_websupport-0.2.0.tar.gz
Algorithm Hash digest
SHA256 db9eb562351a34df6a5fd6085085cf126d67d94c0ccfc710da313a1a9100e6d3
MD5 f0a329ce23e2a8d8cd9336317c950588
BLAKE2b-256 45cb71ee9c2862cdd1641479ab80aaca756b5362485fee87618ace5fe539903a

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_plugin_websupport-0.2.0.tar.gz:

Publisher: release.yml on Mordred/certbot-plugin-websupport

Attestations:

File details

Details for the file certbot_plugin_websupport-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_plugin_websupport-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aa282436906a6098159472b57d115797781c897dbca50d926e24c3035b15b730
MD5 fefb7748d0c4f534a386b3404aa34d06
BLAKE2b-256 42abb6f2e274f35ec2ca4fd749a86760dbb321f2b89b948a0abc9dd195f21c28

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_plugin_websupport-0.2.0-py2.py3-none-any.whl:

Publisher: release.yml on Mordred/certbot-plugin-websupport

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page