openmediavault-letsencrypt

    • Offizieller Beitrag

    I changed the line 177 (missing one parentheses) on my running system but forgot to change it in the code which causes engined to not run. Fixed in 3.4.3. The following should get your systems fixed


    apt-get update
    apt-get install openmediavault-letsencrypt

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    2 Mal editiert, zuletzt von ryecoaaron ()

  • omv-engined -df shows:


    And posting in the Forum shows me

    Code
    Fatal error: An error occured. Sorry.
    Information:
    ID: 6e29caadbfdeb6b27683554b5473f8f088ba9afc
    Bitte teilen Sie dem Betreiber die oben stehende ID mit.
    Die Fehlermeldung kann mit dieser ID über „ACP » Protokoll » Fehler“ eingesehen werden.

    *future backup system*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    Core2Quad Q8200 @2,33 GHz | 6 GB
    Intel SSD 320 40GB System |
    6x2TB WD-Red Raid5


    *replacement under construction*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    i3-2120 @ 3,30 GHz | 8 GB
    Sandisk SSD 126GB System | 3x6TB WD-Red Raid5

    • Offizieller Beitrag

    And posting in the Forum shows me

    That is the spam filter. Nothing I can do to fix that.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • That is the spam filter. Nothing I can do to fix that.

    Ah ok. Thank you.

    *future backup system*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    Core2Quad Q8200 @2,33 GHz | 6 GB
    Intel SSD 320 40GB System |
    6x2TB WD-Red Raid5


    *replacement under construction*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    i3-2120 @ 3,30 GHz | 8 GB
    Sandisk SSD 126GB System | 3x6TB WD-Red Raid5

  • I changed the line 177 (missing one parentheses) on my running system but forgot to change it in the code which causes engined to not run. Fixed in 3.4.3. The following should get your systems fixed


    apt-get update
    apt-get install openmediavault-letsencrypt

    Oh. Sorry. I do not have seen your post.
    There was a missing ) on line 177?


    Now it works fine. Thank you.

    *future backup system*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    Core2Quad Q8200 @2,33 GHz | 6 GB
    Intel SSD 320 40GB System |
    6x2TB WD-Red Raid5


    *replacement under construction*
    OMV 3.0.96 (Erasmus) -
    Linux 4.9.0-0.bpo.4-amd64
    i3-2120 @ 3,30 GHz | 8 GB
    Sandisk SSD 126GB System | 3x6TB WD-Red Raid5

    • Offizieller Beitrag

    There was a missing ) on line 177?

    Just explaining why the plugin caused problems.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Sure. Give me a bit to add that.

    Thank you very much for your help.
    Just tried out this "--http-01-port 443"
    But it gives me this fault:
    certbot: error: unrecognized arguments: --http-01-port 443


    But I have checked, and it is the correct argument. So I am out of ideas again.

  • Hello! I updated the plugin LetsEncrypt. After that, new cert3.pem, chain3.pem, etc. appeared in the /etc/letsencrypt/archive/my_domain/ directory.
    But in WebGUI Sytem->Certificates->SSL and in System->General Settings->Secure connection->Sertificate there was an old, but still valid certificate for my_domen.
    I need to do something to make WebGUI a new certificate from /etc/letsencrypt/archive/my_domain/ or wait until my current certificate expires and it automatically changes to a certificate from /etc/letsencrypt/archive/my_domain/ ? Thank you.

  • Hi,
    I've uninstalled the plugin and with new version with more options (from last night apparently) it seems it works. Is 3.4.3...but looks different.


    Regarding domain verification, I had same issue and found an old discussion community.letsencrypt.org as issue is caused by changing http port from default one (80).
    In my case after I've set back to default one, domains verification was fine and certificate was generated.


    I hope would help.

  • Just explaining why the plugin caused problems.

    I finally managed to generate the certificates, not sure what caused the problem, but I think my NGinx Reverse proxy had something to do with it, I tried and tried until I fixed it.
    But now I cleared out the old certificates from OMV WebUI, I deleted all the old ones and only kept the new one.
    And tried using the new certificate with FTP, which failed: Handshake failed, TLS FTP?
    But now to the new problem. I did a "/etc/init.d/nginx restart" and Nginx wont start at all now.
    When doing a journalctl -xn this is the result:

    and also systemctl status nginx.service:


    I am not sure what I did caused this, can you help me figure it out and fix it?


    Thank you!

  • With the latest update of letsencrypt I somehow killed it. So I uninstalled the plugin, removed letsencrypt & job from /etc/openmediavault/config.xml and reinstalled letsencrypt. Creation of a cert worked well, but settings within "settings"-tab are ignored, cron job is not added to /etc/openmediavault/config.xml crontab-section and neither to scheduled tasks tab within OMV Web-GUI.


    May someone post the lines for letsencrypt between <job> and </job> or give some other hint to get letsencrypt running properly again.


    Thank you in avance.


    Edit: Is it possible, that the monthly cron job to revalidate the cert does not show up in scheduled tasks any more? If so, my porblem is solved.

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

    2 Mal editiert, zuletzt von riff-raff ()

    • Offizieller Beitrag

    Is it possible, that the monthly cron job to revalidate the cert does not show up in scheduled tasks any more? If so, my porblem is solved.

    Yes, the new plugin does not create a job in schedule jobs because there is really no reason for it to be there. It puts in directly in /etc/cron.d - link

    settings within "settings"-tab are ignored

    I assume you thought they were being ignored because there was no job in the scheduled jobs?


    it seems it works. Is 3.4.3...but looks different.

    It had to look different to support multiple web roots.


    I am not sure what I did caused this, can you help me figure it out and fix it?

    Did you remember to change the cert used by the nginx plugin's servers?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Yes, the new plugin does not create a job in schedule jobs because there is really no reason for it to be there. It puts in directly in /etc/cron.d - link

    I assume you thought they were being ignored because there was no job in the scheduled jobs?

    It had to look different to support multiple web roots.

    Did you remember to change the cert used by the nginx plugin's servers?

    I think so, I only used it for FTP, and if I hadn't changed it, I would not be able to delete the certificate? Becuase that makes the button greyed out.
    This happened right after I tried a few things with the FTP TLS/SSL, but it can also be that I removed the old certs, as I had not restarted the nginx server before then. Any idea on what to try? RIght now I can only access the server via Putty.

    • Offizieller Beitrag

    Any idea on what to try? RIght now I can only access the server via Putty.

    What does nginx -t tell you?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • What does nginx -t tell you?

    Code
    root@nas:~# nginx -t
    nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/private/openmediavault-46857801-8281-48a9-8ed7-eb38dc08a284.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
    nginx: configuration file /etc/nginx/nginx.conf test failed
    • Offizieller Beitrag

    It doesn't like the cert. Maybe leftover parts from previous generates?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It doesn't like the cert. Maybe leftover parts from previous generates?

    I have many leftover files when I check the /etc/letsencrypt folders, but I am not sure what I should remove, to not destroy my new cert?


    live folder has one old folder for the cert (even though I deleted all except the newest one in OMV).
    keys folder has files that looks like this: 0000_key-certbot.pem only 4 of 10 files are from today.
    Same with csr-folder.
    And archive has a lot of files.


    What do you suggest me trying?


    EDIT: Removed the old folder in /etc/letsencrypt/live, so now I only have the newest one.


    But this changed nothing.

Jetzt mitmachen!

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