Coder Social home page Coder Social logo

Comments (4)

tomdaley92 avatar tomdaley92 commented on July 17, 2024

I think I got it all sorted out. What I did was run step-ca init locally and see what changed with the step configuration.

I was able to leave the fingerprint, and secrets/password file unchanged. The database moved from badger to badgerv2

To get it working with traefik I had to delete/remove the existing volume-mounted ACME certificate data on every host where traefik is deployed

from step-ca.

tomdaley92 avatar tomdaley92 commented on July 17, 2024

Something is wrong and/or still needs to be vetted out. Keep running into issues where Traefik is unable to renew and/or serve the correct ceritifcates from step

from step-ca.

tomdaley92 avatar tomdaley92 commented on July 17, 2024

After some reading, this might've been expected behavior due to how what the traefik docs say:

https://doc.traefik.io/traefik/https/acme/#automatic-renewals
https://doc.traefik.io/traefik/https/acme/#certificatesduration

I'm guessing since Step-CA was configured to issue very short-lived certificates (24 hours) that might've been the reason traefik was not playing nice with it (since traefik thinks it was getting 90 day certs potentially?)

I have now configured Step-CA to issue ACME certs for 90 days as the default/min/max duration. Currently there are some services using certificates that will expire around 5pm tomorrow, so let's wait and see what happens.

from step-ca.

tomdaley92 avatar tomdaley92 commented on July 17, 2024

This exact part of the Traefik documentation, seems misleading to me:




In reality, Traefik does not appear to examing the returned certificate's expire time but rather uses the expire time that it was configured with, whether it was honored by the certificate authority or not.

from step-ca.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.