This a home assistant integration of the acme.sh project. It allows to generate a TLS certificate using the ACME protocol.
Tested with the dns_cf configuration but It should work, the dnsEnvVariables can be configured with any environment required for acme.sh to work.
accountemail: mail@example.com
domain: home.example.com
dns: dns_cf
dnsEnvVariables:
- name: CF_Token
value: xxxx
- name: CF_Account_ID
value: xxxx
- name: CF_Zone_ID
value: xxxx
keylength: ec-256
fullchainfile: fullchain.pem
keyfile: privkey.pem
http:
server_port: 443
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
[acme.sh][acme.sh] an ACME protocol client written purely in Shell (Unix shell) language. [acme.sh]: https://github.com/acmesh-official/acme.sh