Skip to content

Instantly share code, notes, and snippets.

@joestump
Last active February 21, 2024 11:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joestump/f80ed75fef2d32ad1f6e67812c6a10c9 to your computer and use it in GitHub Desktop.
Save joestump/f80ed75fef2d32ad1f6e67812c6a10c9 to your computer and use it in GitHub Desktop.
# Use LetsEncrypt SSL certificates and set port to default SSL/TLS port.
# This approach does not use Nginx.
http:
server_port: 443
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
# Example LetsEncrypt add-on configuration for using Route53
# DNS challenge.
#
# 1. Go to Supervisor and install the LetsEncrypt Add-on
# 2. Enable/start it
# 3. Go to Configuration and update using the example below
email: your-email@example.com
domains:
- hass.example.com
# Saved to /ssl
certfile: fullchain.pem
keyfile: privkey.pem
# Make sure to set to dns not http
challenge: dns
# Set up Route53 provider w/ key and secret
dns:
provider: dns-route53
aws_access_key_id: your-access-key
aws_secret_access_key: your-secret-access-key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment