Skip to content

huuyafwww/letsencrypt-dns-conoha

 
 

Repository files navigation

letsencrypt-dns-conoha

Fixed

Thanks k2snow, And letsencrypt-dns-conoha script.

This repository is fixed that's script here.

First, loot at conoha_id file. That's file supported a select region for conoha api.

Second, crontab file. That's file is sample for crontab setting. I wrote a update rule at every two months.

Overview

Script to get Let's Encrypt Wildcard SSL Certificate using DNS in ConoHa VPS.

Requirements

  • CentOS7
  • certbot 0.22.0+
  • jq
  • DNS to manage your domain with ConoHa VPS.

Setup

  • Place code in your server.
  • Set username, password and tenantId in the conoha_id

Usage

  • Test to get Wildcard SSL Certificate.
# certbot certonly \
--dry-run \
--manual \
--agree-tos \
--no-eff-email \
--manual-public-ip-logging-ok \
--preferred-challenges dns-01 \
--server https://acme-v02.api.letsencrypt.org/directory \
-d "<base domain name>" \
-d "*.<base domain name>" \
-m "<mail address>" \
--manual-auth-hook /path/to/letsencrypt-dns-conoha/create_conoha_dns_record.sh \
--manual-cleanup-hook /path/to/letsencrypt-dns-conoha/delete_conoha_dns_record.sh
  • Get Wildcard SSL Certificate.
# certbot certonly \
--manual \
--agree-tos \
--no-eff-email \
--manual-public-ip-logging-ok \
--preferred-challenges dns-01 \
--server https://acme-v02.api.letsencrypt.org/directory \
-d "<base domain name>" \
-d "*.<base domain name>" \
-m "<mail address>" \
--manual-auth-hook /path/to/letsencrypt-dns-conoha/create_conoha_dns_record.sh \
--manual-cleanup-hook /path/to/letsencrypt-dns-conoha/delete_conoha_dns_record.sh
  • Test to renew Wildcard SSL Certificate.
# certbot renew --force-renewal --dry-run
  • Renew Wildcard SSL Certificate.
# certbot renew

References

Licence

This software is released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%