Skip to content

UncleBansh/yandex360-wildcard-issuser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certbot wildcard authentificator for Yandex360

PDD Yandex DNS API for certbot --manual-auth-hook --manual-cleanup-hook

Install and renew Let's encrypt wildcard ssl certificate for wildcard cert using Yandex 360 DNS API:

1) Set API KEY

Get your Yandex 360 API key and Organization ID

Documentation is here https://yandex.ru/dev/api360/doc/concepts/intro.html

How to get API key :

2) Configuring

git clone https://github.com/UncleBansh/yandex360-wildcard-issuser && cd ./yandex360-wildcard-issuser
cp ./config.sh.example ./config.sh
#then change API_KEY and ORG_ID variables

3) Install CertBot

4) Generate wildcard

certbot certonly --manual-public-ip-logging-ok --agree-tos --email info@site.com --renew-by-default -d site.com -d *.site.com --manual --manual-auth-hook $(pwd)/authenticator.sh --manual-cleanup-hook $(pwd)/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory

5) Force Renew

certbot renew renew --force-renew --manual --manual-auth-hook $(pwd)/authenticator.sh --manual-cleanup-hook $(pwd)/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages