Giter VIP home page Giter VIP logo

certbot-dns-oci's Introduction

certbot-dns-oci

Oracle Cloud Infrastructure (OCI) DNS Authenticator plugin for Certbot.

This plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using OCI's DNS API.

Configuration:

Install and configure the OCI CLI. See https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm for details.

To use this authenticator you will need:

  • a registered domain name, configured with the OCI DNS servers
  • that domain name created in OCI (via the console, the CLI, or the API)
  • an OCI account with adequate permission to Create / Update / Delete DNS entries in that domain

Installation

I haven't published this in PyPI yet. So for the time being you need to install from source.

git clone [email protected]:therealcmj/certbot-dns-oci.git
cd certbot-dns-oci
pip install .

or

git clone [email protected]:therealcmj/certbot-dns-oci.git
pip install ./certbot-dns-oci

Development

If you want to work on the code you should create a virtual environment and install it there:

git clone [email protected]:therealcmj/certbot-dns-oci.git
cd certbot-dns-oci
virtualenv dev
. ./dev/bin/activate
pip install -e .

You can then use your IDE as normal on the live code.

To use the debugger be sure to choose the correct virtual environment. For PyCharm go to Debug, Edit Configurations and then update the Interpreter to point to the newly created Virtual Environment.

Arguments

This plug-in supports the following arguments on certbot's command line:

--authenticator dns-oci Select the OCI DNS authenticator plugin (Required)
--dns-oci-config OCI configuration file. If ommitted the default configuration file will be used. (Optional)
--dns-oci-profile Specify an alternative profile in the OCI configuration file. If omitted the DEFAULT profile will be used. (Optional)
--dns-oci-propagation-seconds Amount of time to allow for the DNS change to propagate before asking the ACME server to verify the DNS record. (Default: 15)

Examples

To acquire a TEST certificate for demosite.ociateam.com:

certbot --test-cert certonly \
 --logs-dir logs --work-dir work --config-dir config \
 --authenticator dns-oci -d demosite.ociateam.com

To acquire a real certificate for demosite.ociateam.com:

certbot certonly \
 --logs-dir logs --work-dir work --config-dir config \
 --authenticator dns-oci -d demosite.ociateam.com

certbot-dns-oci's People

Contributors

therealcmj avatar

Stargazers

Damith Rushika Kothalawala avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.