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_TLSexampleVINCE_AUTO_TLS=true- flag
--autoTLSexample--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_EMAILexampleVINCE_ACME_EMAIL=example@example.org- flag
--acmeEmailexample--acmeEmail=example@example.org
acmeDomain
acmeDomainshould be the domain name that is used to point to your server. For example we host demo vince instance ondemo.vinceanalytics.comso we use this asacmeDomain
- env
VINCE_ACME_DOMAINexampleVINCE_ACME_DOMAIN=example.org- flag
--acmeDomainexample--acmeDomain=example.org