openmediavault-letsencrypt

    • OMV 3.x
    • Ok silly error from my side:

      My nginx configuration was wrong. Should be:

      Display Spoiler


      location ^~ /.well-known/acme-challenge/ {
      allow all;
      root /var/www/openmediavault;
      try_files $uri =404;
      }


      Thus without acme-challenge directory, otherwise LE did not have permission to create this folder.

      Now it workt to generate certificate.

      thanks.

      The post was edited 1 time, last by wouterve ().

    • Hallo zusammen,
      leider bekomme ich es nicht hin das Zertifikat zu erstellen. Folgende Fehlermeldung kommt
      Display Spoiler

      Command: export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; /usr/bin/certbot certonly --non-interactive --test-cert --rsa-key-size 2048 --text --keep-until-expiring --agree-tos --allow-subset-of-names --cert-name Letsencrypt --email XXXXXX@hotmail.com --webroot -w /var/www/openmediavault/ -d 123456.ddns.net 2>&1


      Saving debug log to /var/log/letsencrypt/letsencrypt.log
      Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
      Obtaining a new certificate
      Performing the following challenges:
      http-01 challenge for 123456.ddns.net
      Using the webroot path /var/www/openmediavault for all unmatched domains.
      Waiting for verification...
      Challenge failed for domain 123456.ddns.net
      Cleaning up challenges
      Challenges failed for all domains
      Fertig...





      Port 80 und 443 im Router sind offen. Meine DynDNS funktioniert nur über Port 443!!! Was kommt mir da in die Quere? (nginx?)
      Ps. Ich habe meine Dyndns abgeändert
      Kann mir jemand helfen?
    • cleimarcia wrote:

      Hello,
      unfortunately, I can not get the certificate. The following error message comes (look at #522)

      Port 80 and 443 in the router are open. My DynDNS only works over port 443 !!! What comes in the way? (Nginx?)
      Ps. I have changed my Dyndns
      Can someone help me?
      Hello, you have to check :
      **if your ddns is registered and known from the Internet (with a dnslookup, dig, etc...)
      **your omv-webgui security settings ("general settings).
      **delete self-signed cert + resetting access to http on 80 works for me.
      I've ddns too, certificat is now created but it doesn't work in firefox (due to a misconfig from my side regarding 'subject alt name')
    • cleimarcia wrote:

      Hello,
      unfortunately, I can not get the certificate. The following error message comes (look at #522)

      Port 80 and 443 in the router are open. My DynDNS only works over port 443 !!! What comes in the way? (Nginx?)
      Ps. I have changed my Dyndns
      Can someone help me?
      Hi,

      i had the same error.

      In my case I used the wrong root path in the lets encrypt plugin.
      After I changed to /var/www/openmediavault it worked without error.
    • Hi all,

      My certificat is working fine at the moment and was created with the plugin. But it is about to expire and I just noticed that the automatic renew process is failing :(

      So I tried to renew it by hand.

      Brainfuck Source Code

      1. root@home-server:/etc/cron.d# /usr/bin/certbot renew
      2. Saving debug log to /var/log/letsencrypt/letsencrypt.log
      3. -------------------------------------------------------------------------------
      4. Processing /etc/letsencrypt/renewal/FAMILLE-BOCQUET.FR.conf
      5. -------------------------------------------------------------------------------
      6. Cert is due for renewal, auto-renewing...
      7. Plugins selected: Authenticator webroot, Installer None
      8. Renewing an existing certificate
      9. Performing the following challenges:
      10. http-01 challenge for home-server.famille-bocquet.fr
      11. Waiting for verification...
      12. Challenge failed for domain home-server.famille-bocquet.fr
      13. Cleaning up challenges
      14. Attempting to renew cert (FAMILLE-BOCQUET.FR) from /etc/letsencrypt/renewal/FAMILLE-BOCQUET.FR.conf produced an unexpected error: Challenges failed for all domains. Skipping.
      15. All renewal attempts failed. The following certs could not be renewed:
      16. /etc/letsencrypt/live/FAMILLE-BOCQUET.FR/fullchain.pem (failure)
      17. -------------------------------------------------------------------------------
      18. All renewal attempts failed. The following certs could not be renewed:
      19. /etc/letsencrypt/live/FAMILLE-BOCQUET.FR/fullchain.pem (failure)
      20. -------------------------------------------------------------------------------
      21. 1 renew failure(s), 0 parse failure(s)
      Display All

      I can see that in the log file:

      Source Code

      1. 2018-05-31 10:07:34,618:WARNING:certbot.renewal:Attempting to renew cert (FAMILLE-BOCQUET.FR) from /etc/letsencrypt/renewal/FAMILLE-BOCQUET.FR.conf produced an unexpected error: Challenges failed for all domains. Skipping.
      2. 2018-05-31 10:07:34,619:DEBUG:certbot.renewal:Traceback was:
      3. Traceback (most recent call last):
      4. File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 422, in handle_renewal_request
      5. main.renew_cert(lineage_config, plugins, renewal_candidate)
      6. File "/usr/lib/python3/dist-packages/certbot/main.py", line 1102, in renew_cert
      7. _get_and_save_cert(le_client, config, lineage=lineage)
      8. File "/usr/lib/python3/dist-packages/certbot/main.py", line 113, in _get_and_save_cert
      9. renewal.renew_cert(config, domains, le_client, lineage)
      10. File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 297, in renew_cert
      11. new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains)
      12. File "/usr/lib/python3/dist-packages/certbot/client.py", line 294, in obtain_certificate
      13. orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
      14. File "/usr/lib/python3/dist-packages/certbot/client.py", line 330, in _get_order_and_authorizations
      15. authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
      16. File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
      17. "Challenges failed for all domains")
      18. certbot.errors.AuthorizationError: Challenges failed for all domains
      19. 2018-05-31 10:07:34,620:ERROR:certbot.renewal:All renewal attempts failed. The following certs could not be renewed:
      20. 2018-05-31 10:07:34,620:ERROR:certbot.renewal: /etc/letsencrypt/live/FAMILLE-BOCQUET.FR/fullchain.pem (failure)
      21. 2018-05-31 10:07:34,620:DEBUG:certbot.log:Exiting abnormally:
      22. Traceback (most recent call last):
      23. File "/usr/bin/certbot", line 11, in <module>
      24. load_entry_point('certbot==0.23.0', 'console_scripts', 'certbot')()
      25. File "/usr/lib/python3/dist-packages/certbot/main.py", line 1266, in main
      26. return config.func(config, plugins)
      27. File "/usr/lib/python3/dist-packages/certbot/main.py", line 1179, in renew
      28. renewal.handle_renewal_request(config)
      29. File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 443, in handle_renewal_request
      30. len(renew_failures), len(parse_failures)))
      31. certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)
      Display All
      Here is the Python version

      Source Code

      1. root@home-server:/etc/cron.d# python -V
      2. Python 2.7.13
      Don't know what to do. Any help would be greatly appreciated.

      Thx


      EDIT:
      After a few research, I found that my certbot package was updated with the one from stretch-backports (v0.23) which need python 3 !
      I don't think that upgraded python to v3.x is a good solution, so I simply want to downgrade the certbot package to the one in the stretch repository (v 0.10).

      Source Code

      1. root@home-server:/etc/cron.d# apt-get install certbot/stretch
      2. Lecture des listes de paquets... Fait
      3. Construction de l'arbre des dépendances
      4. Lecture des informations d'état... Fait
      5. Version choisie « 0.10.2-1 » (Debian:9.4/stable [all]) pour « certbot »
      6. The following additional packages will be installed:
      7. python-acme python-certbot python-cffi-backend python-chardet python-configargparse python-configobj python-cryptography python-enum34 python-funcsigs python-idna python-ipaddress python-mock python-openssl
      8. python-parsedatetime python-pbr python-pkg-resources python-pyasn1 python-requests python-rfc3339 python-setuptools python-six python-tz python-urllib3 python-zope.component python-zope.event
      9. python-zope.hookable python-zope.interface
      10. Paquets suggérés :
      11. python-certbot-apache python-certbot-doc python-acme-doc python-configobj-doc python-cryptography-doc python-cryptography-vectors python-enum34-doc python-funcsigs-doc python-mock-doc python-openssl-doc
      12. python-openssl-dbg doc-base python-socks python-setuptools-doc python-ntlm
      13. Paquets recommandés :
      14. python-psutil python-pyicu
      15. Les NOUVEAUX paquets suivants seront installés :
      16. python-acme python-certbot python-cffi-backend python-chardet python-configargparse python-configobj python-cryptography python-enum34 python-funcsigs python-idna python-ipaddress python-mock python-openssl
      17. python-parsedatetime python-pbr python-pkg-resources python-pyasn1 python-requests python-rfc3339 python-setuptools python-six python-tz python-urllib3 python-zope.component python-zope.event
      18. python-zope.hookable python-zope.interface
      19. Les paquets suivants seront mis à une VERSION INFÉRIEURE :
      20. certbot
      21. 0 mis à jour, 27 nouvellement installés, 1 remis à une version inférieure, 0 à enlever et 13 non mis à jour.
      22. Il est nécessaire de prendre 1 858 ko dans les archives.
      23. Après cette opération, 9 388 ko d'espace disque supplémentaires seront utilisés.
      24. Souhaitez-vous continuer ? [O/n] n
      Display All

      I'm a little nervous to "update" all those package ??? Is it safe or am I going to break everything in OMV ?
      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9

      The post was edited 4 times, last by sbocquet ().

    • sbocquet wrote:

      I don't think that upgraded python to v3.x is a good solution, so I simply want to downgrade the certbot package to the one in the stretch repository (v 0.10).
      I pinned the newer certbot package with omv-extras (if backports is enabled - you can disable backports in omv-extras) to allow creation of wild card certs. But installing python 3 is not an upgrade. It is installed side-by-side with python 2. So, it won't hurt to install it. I guess I will have to look at the plugin's dependencies though.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • OK.

      What, for you, is the best move in that case ?

      I still have 13 days before the end of my cert.
      I'm maybe gonna wait a little to wait for you to check the package dependencies.

      Thx @ryecoaaron
      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9
    • sbocquet wrote:

      What, for you, is the best move in that case ?
      What is the output of: dpkg -l | grep python
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Source Code

      1. root@home-server:~# dpkg -l | grep python
      2. ii dh-python 2.20170125 all Debian helper tools for packaging Python libraries and applications
      3. ii libpython-stdlib:amd64 2.7.13-2 amd64 interactive high-level object-oriented language (default python version)
      4. ii libpython2.7:amd64 2.7.13-2+deb9u2 amd64 Shared Python runtime library (version 2.7)
      5. ii libpython2.7-minimal:amd64 2.7.13-2+deb9u2 amd64 Minimal subset of the Python language (version 2.7)
      6. ii libpython2.7-stdlib:amd64 2.7.13-2+deb9u2 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
      7. ii libpython3-stdlib:amd64 3.5.3-1 amd64 interactive high-level object-oriented language (default python3 version)
      8. ii libpython3.5-minimal:amd64 3.5.3-1 amd64 Minimal subset of the Python language (version 3.5)
      9. ii libpython3.5-stdlib:amd64 3.5.3-1 amd64 Interactive high-level object-oriented language (standard library, version 3.5)
      10. ii python 2.7.13-2 amd64 interactive high-level object-oriented language (default version)
      11. ii python-apt-common 1.4.0~beta3 all Python interface to libapt-pkg (locales)
      12. ii python-crypto 2.6.1-7 amd64 cryptographic algorithms and protocols for Python
      13. ii python-dnspython 1.15.0-1 all DNS toolkit for Python
      14. ii python-ldb 2:1.1.27-1+b1 amd64 Python bindings for LDB
      15. ii python-minimal 2.7.13-2 amd64 minimal subset of the Python language (default version)
      16. rc python-pbr 1.10.0-1 all inject useful and sensible default behaviors into setuptools - Python 2.x
      17. ii python-samba 2:4.5.12+dfsg-2+deb9u2 amd64 Python bindings for Samba
      18. ii python-talloc 2.1.8-1 amd64 hierarchical pool based memory allocator - Python bindings
      19. ii python-tdb 1.3.11-2 amd64 Python bindings for TDB
      20. ii python2.7 2.7.13-2+deb9u2 amd64 Interactive high-level object-oriented language (version 2.7)
      21. ii python2.7-minimal 2.7.13-2+deb9u2 amd64 Minimal subset of the Python language (version 2.7)
      22. ii python3 3.5.3-1 amd64 interactive high-level object-oriented language (default python3 version)
      23. ii python3-acme 0.22.2-1~bpo9+1 all ACME protocol library for Python 3
      24. ii python3-apt 1.4.0~beta3 amd64 Python 3 interface to libapt-pkg
      25. ii python3-certbot 0.23.0-1~bpo9+1 all main library for certbot
      26. ii python3-cffi-backend 1.9.1-2 amd64 Foreign Function Interface for Python 3 calling C code - runtime
      27. ii python3-chardet 2.3.0-2 all universal character encoding detector for Python3
      28. ii python3-configargparse 0.11.0-1 all replacement for argparse with config files and environment variables (Python 3)
      29. ii python3-configobj 5.0.6-2 all simple but powerful config file reader and writer for Python 3
      30. ii python3-cryptography 1.7.1-3 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
      31. ii python3-dbus 1.2.4-1+b1 amd64 simple interprocess messaging system (Python 3 interface)
      32. ii python3-debian 0.1.30 all Python 3 modules to work with Debian-related data formats
      33. ii python3-debianbts 2.6.1 all Python interface to Debian's Bug Tracking System
      34. ii python3-dialog 3.4.0-1 all Python module for making simple terminal-based user interfaces
      35. ii python3-future 0.15.2-4 all Clean single-source support for Python 3 and 2 - Python 3.x
      36. ii python3-httplib2 0.9.2+dfsg-1 all comprehensive HTTP client library written for Python3
      37. ii python3-idna 2.2-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
      38. ii python3-josepy 1.0.1-1~bpo9+1 all JOSE implementation for Python 3.x
      39. ii python3-lxml 3.7.1-1 amd64 pythonic binding for the libxml2 and libxslt libraries
      40. ii python3-minimal 3.5.3-1 amd64 minimal subset of the Python language (default python3 version)
      41. ii python3-mock 2.0.0-3 all Mocking and Testing Library (Python3 version)
      42. ii python3-natsort 4.0.3-2 all Natural sorting for Python (python3)
      43. ii python3-netifaces 0.10.4-0.1+b2 amd64 portable network interface information - Python 3.x
      44. ii python3-openssl 16.2.0-1 all Python 3 wrapper around the OpenSSL library
      45. ii python3-parsedatetime 2.4-2~bpo9+1 all Python 3 module to parse human-readable date/time expressions
      46. ii python3-pbr 1.10.0-1 all inject useful and sensible default behaviors into setuptools - Python 3.x
      47. ii python3-pkg-resources 33.1.1-1 all Package Discovery and Resource Access using pkg_resources
      48. ii python3-pyasn1 0.1.9-2 all ASN.1 library for Python (Python 3 module)
      49. ii python3-pycurl 7.43.0-2 amd64 Python bindings to libcurl (Python 3)
      50. ii python3-pysimplesoap 1.16-2 all simple and lightweight SOAP Library (Python 3)
      51. ii python3-pyudev 0.21.0-1 all Python3 bindings for libudev
      52. ii python3-reportbug 7.1.7+deb9u1 all Python modules for interacting with bug tracking systems
      53. ii python3-requests 2.12.4-1 all elegant and simple HTTP library for Python3, built for human beings
      54. ii python3-rfc3339 1.0-4 all parser and generator of RFC 3339-compliant timestamps (Python 3)
      55. ii python3-setuptools 33.1.1-1 all Python3 Distutils Enhancements
      56. ii python3-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 3 interface)
      57. ii python3-tz 2016.7-0.3 all Python3 version of the Olson timezone database
      58. ii python3-urllib3 1.19.1-1 all HTTP library with thread-safe connection pooling for Python3
      59. ii python3-zope.component 4.3.0-1 all Zope Component Architecture
      60. ii python3-zope.event 4.2.0-1 all Very basic event publishing system
      61. ii python3-zope.hookable 4.0.4-4+b2 amd64 Hookable object support
      62. ii python3-zope.interface 4.3.2-1 amd64 Interfaces for Python3
      63. ii python3.5 3.5.3-1 amd64 Interactive high-level object-oriented language (version 3.5)
      64. ii python3.5-minimal 3.5.3-1 amd64 Minimal subset of the Python language (version 3.5)
      Display All
      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9
    • sbocquet wrote:

      Are you talking about the installé of the new certbot package?
      Yes, you have the requirements needed for the certbot 0.23 package.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      sbocquet wrote:

      I don't think that upgraded python to v3.x is a good solution, so I simply want to downgrade the certbot package to the one in the stretch repository (v 0.10).
      I pinned the newer certbot package with omv-extras (if backports is enabled - you can disable backports in omv-extras) to allow creation of wild card certs. But installing python 3 is not an upgrade. It is installed side-by-side with python 2. So, it won't hurt to install it. I guess I will have to look at the plugin's dependencies though.

      Unfortunatly, I can't see it… with or without backports enabled

      Source Code

      1. root@home-server:/etc/apt/sources.list.d# cat omv-extras-org.list
      2. # This is file is generated.
      3. # OMV-Extras repos
      4. #
      5. # OMV-Extras.org
      6. deb https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch main

      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9
    • sbocquet wrote:

      Unfortunatly, I can't see it…
      See what? The pinning isn't in the repo file. And the new certbot package isn't in the omv-extras repo. What is the output of: apt-cache policy certbot
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I was thinking it was ;)

      Source Code

      1. root@home-server:/etc/apt/sources.list.d# apt-cache policy certbot
      2. certbot:
      3. Installé : 0.23.0-1~bpo9+1
      4. Candidat : 0.23.0-1~bpo9+1
      5. Table de version :
      6. *** 0.23.0-1~bpo9+1 100
      7. 100 /var/lib/dpkg/status
      8. 0.10.2-1 500
      9. 500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9
    • I think i had a similar error??
      As iam right?

      Source Code

      1. 2018-05-31 22:05:21,593:WARNING:certbot.auth_handler:Challenge failed for domain nextcloud.spookyzone.de
      2. 2018-05-31 22:05:21,593:INFO:certbot.auth_handler:Cleaning up challenges
      3. 2018-05-31 22:05:21,593:DEBUG:certbot.plugins.webroot:Removing /srv/dev-disk-by-label-NextcloudDaten/www/nextcloud/.well-known/acme-challenge/BsgmEbrDur31hMKbjQZVLikxbM62lDFnisJJ94xKAYA
      4. 2018-05-31 22:05:21,593:DEBUG:certbot.plugins.webroot:All challenges cleaned up, removing /srv/dev-disk-by-label-NextcloudDaten/www/nextcloud/.well-known/acme-challenge
      5. 2018-05-31 22:05:21,593:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/Nextcloud_Zertifikat.conf produced an unexpected error: Challenges failed for all domains. Skipping.
      6. 2018-05-31 22:05:21,594:DEBUG:certbot.renewal:Traceback was:
      7. Traceback (most recent call last):
      8. File "/usr/lib/python2.7/dist-packages/certbot/renewal.py", line 413, in handle_renewal_request
      9. main.obtain_cert(lineage_config, plugins, renewal_candidate)
      10. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 626, in obtain_cert
      11. action, _ = _auth_from_available(le_client, config, domains, certname, lineage)
      12. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 103, in _auth_from_available
      13. renewal.renew_cert(config, domains, le_client, lineage)
      14. File "/usr/lib/python2.7/dist-packages/certbot/renewal.py", line 296, in renew_cert
      15. new_certr, new_chain, new_key, _ = le_client.obtain_certificate(domains)
      16. File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 262, in obtain_certificate
      17. self.config.allow_subset_of_names)
      18. File "/usr/lib/python2.7/dist-packages/certbot/auth_handler.py", line 88, in get_authorizations
      19. "Challenges failed for all domains")
      20. AuthorizationError: Challenges failed for all domains
      21. 2018-05-31 22:05:21,594:DEBUG:certbot.main:Exiting abnormally:
      22. Traceback (most recent call last):
      23. File "/usr/bin/certbot", line 11, in <module>
      24. load_entry_point('certbot==0.10.2', 'console_scripts', 'certbot')()
      25. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 849, in main
      26. return config.func(config, plugins)
      27. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 655, in renew
      28. renewal.handle_renewal_request(config)
      29. File "/usr/lib/python2.7/dist-packages/certbot/renewal.py", line 430, in handle_renewal_request
      30. len(renew_failures), len(parse_failures)))
      31. Error: 1 renew failure(s), 0 parse failure(s)
      Display All
    • Yes, it seems to be the same except that you're running python 2.7...

      Source Code

      1. 2018-05-31 22:05:21,594:DEBUG:certbot.main:Exiting abnormally:
      2. Traceback (most recent call last):
      3. File "/usr/bin/certbot", line 11, in <module>
      4. load_entry_point('certbot==0.10.2', 'console_scripts', 'certbot')()
      5. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 849, in main
      6. return config.func(config, plugins)
      7. File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 655, in renew
      8. renewal.handle_renewal_request(config)
      9. File "/usr/lib/python2.7/dist-packages/certbot/renewal.py", line 430, in handle_renewal_request
      10. len(renew_failures), len(parse_failures)))
      11. Error: 1 renew failure(s), 0 parse failure(s)
      Display All
      and me python 3.0

      Source Code

      1. Traceback (most recent call last):
      2. File "/usr/bin/certbot", line 11, in <module>
      3. load_entry_point('certbot==0.23.0', 'console_scripts', 'certbot')()
      4. File "/usr/lib/python3/dist-packages/certbot/main.py", line 1266, in main
      5. return config.func(config, plugins)
      6. File "/usr/lib/python3/dist-packages/certbot/main.py", line 1179, in renew
      7. renewal.handle_renewal_request(config)
      8. File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 443, in handle_renewal_request
      9. len(renew_failures), len(parse_failures)))
      10. certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)
      Display All
      Lian Li PC-V354 with Be Quiet fans | Gigabyte GA-G33M-DS2R | Intel E8400@3,6Ghz | 6GB DDR2 RAM
      1x500MB SSD for System/Backup | 7x2To HDD with ZFS RAIDz2 for Datas/Snapshots
      Powered by OMV v4.1.7 / Kernel 4.16.x / ZFS 0.7.9
    • OK so whats the way to fix it.
      I read some post above. The Output of my dpkg -l | grep python

      My Sytem is omv 3.0.99 and as i am understand i use the 3.16.0-6-amd64 kernel. Setting under OMV-Extras Kernel.

      Source Code

      1. root@werk-nas02:~# dpkg -l | grep python
      2. ii dh-python 1.20141111-2 all Debian helper tools for packaging Python libraries and applications
      3. ii libpython-stdlib:amd64 2.7.9-1 amd64 interactive high-level object-oriented language (default python version)
      4. ii libpython2.7:amd64 2.7.9-2+deb8u1 amd64 Shared Python runtime library (version 2.7)
      5. ii libpython2.7-minimal:amd64 2.7.9-2+deb8u1 amd64 Minimal subset of the Python language (version 2.7)
      6. ii libpython2.7-stdlib:amd64 2.7.9-2+deb8u1 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
      7. ii libpython3-stdlib:amd64 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version)
      8. ii libpython3.4:amd64 3.4.2-1 amd64 Shared Python runtime library (version 3.4)
      9. ii libpython3.4-minimal:amd64 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)
      10. ii libpython3.4-stdlib:amd64 3.4.2-1 amd64 Interactive high-level object-oriented language (standard library, version 3.4)
      11. ii python 2.7.9-1 amd64 interactive high-level object-oriented language (default version)
      12. ii python-acme 0.10.2-1~bpo8+2 all ACME protocol library for Python 2
      13. ii python-apt-common 0.9.3.12 all Python interface to libapt-pkg (locales)
      14. ii python-certbot 0.10.2-1~bpo8+1 all main library for certbot
      15. ii python-cffi-backend 1.9.1-2~bpo8+1 amd64 Foreign Function Interface for Python calling C code - backend
      16. ii python-chardet 2.3.0-1 all universal character encoding detector for Python2
      17. ii python-configargparse 0.11.0-1~bpo8+1 all replacement for argparse with config files and environment variables (Python 2)
      18. ii python-configobj 5.0.6-1 all simple but powerful config file reader and writer for Python 2
      19. ii python-crypto 2.6.1-5+deb8u1 amd64 cryptographic algorithms and protocols for Python
      20. ii python-cryptography 1.7.1-3~bpo8+1 amd64 Python library exposing cryptographic recipes and primitives (Python 2)
      21. ii python-dnspython 1.12.0-1 all DNS toolkit for Python
      22. ii python-enum34 1.0.3-1 all backport of Python 3.4's enum package
      23. ii python-funcsigs 1.0.2-3~bpo8+1 all function signatures from PEP362 - Python 2.7
      24. ii python-idna 2.0-3~bpo8+1 all Python IDNA2008 (RFC 5891) handling (Python 2)
      25. ii python-ipaddress 1.0.16-1~bpo8+1 all Backport of Python 3 ipaddress module (Python 2)
      26. ii python-ldb 2:1.1.20-0+deb8u1 amd64 Python bindings for LDB
      27. ii python-minimal 2.7.9-1 amd64 minimal subset of the Python language (default version)
      28. ii python-mock 2.0.0-3~bpo8+1 all Mocking and Testing Library
      29. ii python-ndg-httpsclient 0.4.2-1~bpo8+1 all enhanced HTTPS support for httplib and urllib2 using PyOpenSSL for Python2
      30. ii python-ntdb 1.0-5 amd64 Python bindings for NTDB
      31. ii python-openssl 16.0.0-1~bpo8+1 all Python 2 wrapper around the OpenSSL library
      32. ii python-parsedatetime 1.4-1 all Python module to parse human-readable date/time expressions
      33. ii python-pbr 1.8.0-4.1~bpo8+1 all inject useful and sensible default behaviors into setuptools - Python 2.x
      34. ii python-pkg-resources 33.1.1-1~bpo8+1 all Package Discovery and Resource Access using pkg_resources
      35. ii python-pyasn1 0.1.9-1~bpo8+1 all ASN.1 library for Python (Python 2 module)
      36. ii python-requests 2.11.1-1~bpo8+1 all elegant and simple HTTP library for Python2, built for human beings
      37. ii python-rfc3339 1.0-4~bpo8+1 all parser and generator of RFC 3339-compliant timestamps (Python 2)
      38. ii python-samba 2:4.2.14+dfsg-0+deb8u9 amd64 Python bindings for Samba
      39. ii python-setuptools 33.1.1-1~bpo8+1 all Python Distutils Enhancements
      40. ii python-six 1.10.0-3~bpo8+1 all Python 2 and 3 compatibility library (Python 2 interface)
      41. ii python-talloc 2.1.2-0+deb8u1 amd64 hierarchical pool based memory allocator - Python bindings
      42. ii python-tdb 1.3.6-0+deb8u1 amd64 Python bindings for TDB
      43. ii python-tz 2012c+dfsg-0.1 all Python version of the Olson timezone database
      44. ii python-urllib3 1.16-1~bpo8+1 all HTTP library with thread-safe connection pooling for Python
      45. ii python-zope.component 4.2.1-2 all Zope Component Architecture
      46. ii python-zope.event 4.0.3-2 all Very basic event publishing system
      47. ii python-zope.interface 4.1.1-3.1 amd64 Interfaces for Python
      48. ii python2.7 2.7.9-2+deb8u1 amd64 Interactive high-level object-oriented language (version 2.7)
      49. ii python2.7-minimal 2.7.9-2+deb8u1 amd64 Minimal subset of the Python language (version 2.7)
      50. ii python3 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version)
      51. ii python3-apt 0.9.3.12 amd64 Python 3 interface to libapt-pkg
      52. ii python3-dbus 1.2.0-2+b3 amd64 simple interprocess messaging system (Python 3 interface)
      53. ii python3-dialog 3.2.0-2 all Python module for making simple terminal-based user interfaces
      54. ii python3-lxml 3.4.0-1 amd64 pythonic binding for the libxml2 and libxslt libraries
      55. ii python3-minimal 3.4.2-2 amd64 minimal subset of the Python language (default python3 version)
      56. ii python3-natsort 3.5.1-1 all Natural sorting for python (Python3)
      57. ii python3-netifaces 0.10.4-0.1 amd64 portable network interface information - Python 3.x
      58. ii python3-pyudev 0.16.1-2 all Python3 bindings for libudev
      59. ii python3.4 3.4.2-1 amd64 Interactive high-level object-oriented language (version 3.4)
      60. ii python3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)
      Display All