Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

webmin letsencrypt error renew certificate

  • All Blogs
  • Tech Blog
  • webmin letsencrypt error renew certificate
  • March 5, 2021 by
    Administrator

    https://github.com/webmin/webmin/issues/436

    This is a really bad bug. I had a client call me this Canadian Thanks Giving morning reporting that their SSL cert was giving errors. Turns out, the renewal date was last night at midnight and it indeed copies the wrong certificate to the virtual site’s webroot.

    For anyone that is experiencing this issue you can workaround using these steps.

    First locate the newly generated certificate. This is typically in /etc/letsencrypt/live/domain.com-0002. You will want the files located in the folder with the largest numeric suffix which indicates the newest renewal.

    Second, copy the cert.pem and privkey.pem to the affected webroot to manually overwrite the old certificate and key.

    cp /etc/letsencrypt/live/domain.com-0002/cert.pem /home/domain.com/ssl.cert
    cp /etc/letsencrypt/live/domain.com-0002/privkey.pem /home/domain.com/ssl.key
    

    Third, ensure the domain in question owns the new certiicates.

    chown domain:domain /home/domain.com/ssl.cert
    chown domain:domain /home/domain.com/ssl.key
    

    Fourth, restart your web server Apache/Nginx.

    Finally, test to ensure the SSL has taken by visiting the website in question. You can also verify the certificate details in the Manage SSL Certificate panel which should display the proper domain name and a renewal date somewhere 3 months out into the future.

    in Tech Blog
    ORM Methods in OpenERP

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)