Home
Softono

Acme Linode Objectstorage

Open source MIT Python
27
Stars
6
Forks
1
Issues
2
Watchers
2 years
Last Commit

 About Acme Linode Objectstorage

ACME ("Let's Encrypt") client for Linode Object Storage

Platforms

Web Self-hosted

Languages

Python

Links

Need Help Installing Acme Linode Objectstorage?

We provide expert installation service for this software. Our team will install, configure, and secure Acme Linode Objectstorage on your server. plans start at just $30.

Acme Linode Objectstorage

View on GitHub

ACME ("Let's Encrypt") client for Linode Object Storage

Automatically provision a Linode Object Storage bucket with a Let's Encrypt certificate.

Requirements

Requires Python 3.8+ with Cryptography and Requests.

pip install cryptography requests

Installing

The easiest way to install is using pip:

pip install --user git+https://github.com/dcoles/acme-linode-objectstorage.git

Alternatively clone this repository and run python3 setup.py install --user.

Usage

This assumes you have already created an Object Storage Bucket for a domain (e.g. my.bucket.domain) and configured a DNS to point to the bucket.

The bucket name and DNS name must be identical.

  1. Generate Let's Encrypt account key:

    openssl genrsa 4096 > account_key.pem
    
  2. Create a Linode API Personal Access Token with Read/Write permission to Object Storage.

  3. Provision a certificate for this bucket:

    export LINODE_TOKEN=...
    python3 -m acme_linode_objectstorage -k account_key.pem my.bucket.domain
    

    If this is the first time running the script, you will also need to include the --agree-to-terms-of-service flag to indicate agreement with the Let's Encrypt Terms of Service.

Certificates are typically valid for 90-days. This script should be re-run approximately 30-days prior to certificate expiration.

License

Licenced under the MIT License. See LICENSE for details.