Szybkie notatki administratora

Generowanie certyfikatów przez PowerDNS

First you need to login to your PowerDNS account to enable the API and set your API-Token in the configuration.

export PDNS_Url="http://dnsadin.prolin.pl:8081"
export PDNS_ServerId="localhost"
export PDNS_Token="token"
export PDNS_Ttl=60

Ok, let’s issue a cert now:

acme.sh --issue --dns dns_pdns -d example.com -d www.example.com

The PDNS_Url, PDNS_ServerId, PDNS_Token and PDNS_Ttl will be saved in ~/.acme.sh/account.conf and will be reused when needed.

Comments are currently closed.