full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
Certificate revoked, can't access from Chrome or Safari
Issue: https://www.bleepingcomputer.com/news/security/lets-encrypt-is-revoking-lots-of-ssl-certificates-in-two-days/
Resolution:
# Delete traefik stack
docker stack rm traefik
# Delete traefik volume
docker volume ls (should see something like traefik_traefik-public-certificates)
docker volume rm traefik_traefik-public-certificates
# Populate env variables for deploying traefik (reference: https://github.com/tiangolo/full-stack-fastapi-postgresql/issues/322)
source ~/.profile
export EMAIL=$TRAEFIK_EMAIL
export HASHED_PASSWORD=$(openssl passwd -apr1 $TRAEFIK_PASSWORD)
# Re-deploy traefik stack
docker stack deploy -c traefik.yml traefik
Thanks to @0xstnick!
I followed your steps and I get TRAEFIK DEFAULT CERT instead of Let's Encrypt certificate. on stag.domain.com but I have correct lets encrypt cert on traefik.stag.domain.com. What am I missing?
@lacriment, I followed this traefik article and it worked for me.