DEV Community

Discussion on: Development environment with Docker and Traefik

Collapse
 
michabbb_76 profile image
Michael Bladowski

how do you handle HTTPS in that scenario?

Collapse
 
flemming profile image
Flemming

I don't really need https for local development. But one possibility is to create a wildcard certificate for *.localhost and trust the CA by putting it in the local truststore.Then you have to extend traefik with the access point 443.

Collapse
 
michabbb_76 profile image
Michael Bladowski

i guess the best way (for me) is to find a simple free dns provider that is supported by letsencrpyt... so I don´t have to expose my ports or open and firewalls for the HTTP challenge....