Our great sponsors
-
mkcert
A simple zero-config tool to make locally trusted development certificates with any names you'd like.
yes - I do my development in a dockerized environment. On a side note, I use docker to create a private network between my services (db, redis, auth, api, nginx, etc) so I don't need to encrypt intra-service communication, only my public interfaces need https. It simplifies everything. Another dev tip, check out mkcert to solve all kinds local development cert issues.
-
I would generate all of my certs in a single folder at the root of my project, probably using mkcert, and then I would mount the cert as a volume in the container using the filename expected by the service. Pro tip: use a docker-compose file and a build "context" to make it easier to mount your certs into your containers. If you are interested in how I solved a bunch of CORS issues, certs stuff, traefik routing, etc - check out this docker-compose that I use in my dev environment.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.