Let's Encrypt renew problem

  • Hello all,


    My Let's Encrypt plugin did not renew certificate for my subdomain.
    I don't know why, it was working whole time, but now from march 14 my certificate expired and even running cron job manually do nothing.
    Can anyone help me? Maybe look in plugin, some update needed?


    Thank you in advance for support!

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

  • Ok, my problem was solved.


    There is nothing wrong with plugin, I had multiple certificates generated and wrong was pointed in Nginx plugin.


    Now question is:
    Where can I find certificate files to clean them up, I need to delete 4 certs to not show in any dropdown menu.


    Thanks in advance for reply!

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

  • Look in here: /etc/letsencrypt
    /opt/letsencrypt


    Ensure the old certs aren't in used in the Nginx web sites before you delete them.
    Be careful to the delete the right ones.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • In OMV WebUI go to certificates and delete wrong entries.
    Removing Let's Encrypt folder don't remove certificates in Certificates section of OMV WebUI

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

  • I switched from StartSSL to Letsencrypt today. Setup with Plugin worked like a charm. I created a cron for renewal.


    Do I need port 80 for renewal as well?


    I usually serve only SSL on Port 443, mapped through Router. Port 80 is used internal only for OMV WebUI.

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

  • I run a Nextcloud-Installation with MySQL, Nginx, Fail2Ban and SSL on Port 443. Does opening Port 80 to the same web root bring some security issues with it?


    My Nginx is configured to serve only SSL/Port 443, I am a little converned pointing port 80 to that jail as well

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

  • I don't need reverse Proxy.


    I set up Nginx with one host (nextcloud) and pointed the letsencrypt-plugin directly to this host/webroot. Since this is the only service I need to be reachable from outside without using VPN, there is no need to use the reverse proxy.


    OMV WebGUI is served without certificate and only reachable within LAN.


    For security reasons I mapped as few ports as possible (only port 443) through my router to my NAS machine.


    I switched WebUI Port and opened port 80 for Letsencrypt. Accessing the domain on port 80 now redirects me to https/port 443.

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

    Einmal editiert, zuletzt von riff-raff ()

  • First of all,
    Do not create your own renewal cron job - use slider in plugin.
    Second one, move your OMV WebUI to another port (like 8080 or anything you like) and open 80, it is necessary.

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

  • I did it exactly that way.


    WebUI is port 8080, port 80 open for letsencrypt, cron created with slider.

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

  • SO this is all you need to have. Your NC should be protected with SSL and SSL should be renewed automatically w/o problems in future.

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

  • Letsencrypt tries to renew my cert, but gets an error because of .well-known subdirectory in my webroot. .well-known has no subdir or file within. Permissions are root:www-data with drwxr-s---+







    Seems that because of a lack of authorization no renewal is possible. Strange is the cleanup within .well-known


    Pushing the monthly cron renewal manually gives me this


    Using google, there seems to be a solution through DNS Record. I checked, there is a A record for my domain, http and www. Ports 80 and 443 are opened through router. The web root is used for Nextcloud.


    How can i resolve this issue?


    Edit: Solved it by editing the nginx v-host config.


    Edit 2: My letsencrypt-cert checks for monthly renewal, but the job says no renewal is needed, even 5 days before cert will expire. I receive Email from letsencrypt saying I have to check my cert.


    When I push a creation of a new cert manually, a new cert is created, but it does not replace the old one, it will be placed as second cert. (I use my cert with nginx for nextcloud)


    How can I resolve this issue?

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

    5 Mal editiert, zuletzt von riff-raff ()

  • Hi ysl,
    OMV web-ui
    Services
    LetsEncrypt
    Configuration tab
    Schedule refresh (make it green :))
    This will create cron job in OMV

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!