Automatic tls with acme
- Geofrey Ernest
- Guides
- December 11, 2024
Table of Contents
Automatic TLS
vince
supports automatic tls using acme client with let’s encrypt.
Enabling automatic tls
- env
VINCE_AUTO_TLS
exampleVINCE_AUTO_TLS=true
- flag
--autoTLS
example--autoTLS=true
You need to setup account email address and the domain to generate certificate for, using acmeEmail
and acmeDomain
options.
acmeEmail
This is used by CAs, such as Let’s Encrypt, to notify about problems with issued certificates.
- env
VINCE_ACME_EMAIL
exampleVINCE_ACME_EMAIL=example@example.org
- flag
--acmeEmail
example--acmeEmail=example@example.org
acmeDomain
acmeDomain
should be the domain name that is used to point to your server. For example we host demo vince instance ondemo.vinceanalytics.com
so we use this asacmeDomain
- env
VINCE_ACME_DOMAIN
exampleVINCE_ACME_DOMAIN=example.org
- flag
--acmeDomain
example--acmeDomain=example.org