Custom TLS Certificates¶
It’s possible to use “real” TLS certificates issued by a CA rather than the local-development-oriented
- Obtain a certificate and key from Let’s Encrypt or another source.
- Install the certificate and key in your project’s
.ddev/custom_certsdirectory. Each certificate must be named with the pattern
fqdn.key. If you’re working with a project
example.ddev.site, you would have
.ddev/custom_certs. There must be one cert-set for each FQDN handled by the project.
ddev startand verify using a browser that you’re using the right certificate.
Last update: October 5, 2022