Git Product home page Git Product logo

Comments (3)

zoffixznet avatar zoffixznet commented on August 30, 2024

Looks like something happened in the past ~24hr that broke the cert 'cause the site worked for me fine around that time...

from rakudo.org.

zoffixznet avatar zoffixznet commented on August 30, 2024

Thanks to moritz++ the issue is now fixed.

from rakudo.org.

moritz avatar moritz commented on August 30, 2024

Ok, let me try to describe what happened:

  • I got an email from a cert monitor, warning me that the certs would expire in 7 days
  • I manually ran the cron job (/root/letsencrypt/more-certs.sh) that is supposed to renew the certs. It didn't give any errors
  • I restarted apache, checked the certs, still 7 days expiry date
  • It turns out the new certs were being written to /etc/letsencrypt/live/www.perl6.org/, while Apache used /etc/letsencrypt/live/design.p6c.org/ as the directory for its *.pem files
  • I ran perl -i -pE 's{live/design.p6c.org/}{live/www.perl6.org}g' * in /etc/apache2/sites-enabled/ to address this issue
  • restarted apache, check the perl6.org cert in the browser, was happy

But it turns out that the cron job uses a hardcoded list of domains, and is a bit outdated, so it didn't include rakudo.org and its subdomain(s).

Later, @zoffixznet noticed that rakudo.org didn't have a valid cert, and tried to fix it. This was complicated by the fact that the the perl -i ... script replaced the symlinks in /etc/sites-enabled to modified copies of the files, so editing the files in /etc/sites-avaiable didn't have any effect.

By the time I read Zoffix's messages on the topic, and realized the symlink problem, we had already run into a rate limit from let's encrypt, and we couldn't obtain new certs anymore.

For the moment, I've re-instated the old certs, so we still have to get new certs in the next ~6 days.

from rakudo.org.

Related Issues (20)

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.