Skip to content

cb400sp2/letsencrypt-dns-conoha

 
 

Repository files navigation

letsencrypt-dns-conoha

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%