From nobody Wed Jan 31 03:32:35 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPnfZ28TBz58HRh for ; Wed, 31 Jan 2024 03:32:38 +0000 (UTC) (envelope-from pkagan@videotron.ca) Received: from alt41.smtp-out.videotron.ca (alt41.smtp-out.videotron.ca [23.233.128.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vl-vm-csp356.ip.videotron.ca", Issuer "int-SNINTCAP1-CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPnfY1VqVz4PXj for ; Wed, 31 Jan 2024 03:32:37 +0000 (UTC) (envelope-from pkagan@videotron.ca) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=videotron.ca header.s=s1 header.b=p0gBZvnt; dmarc=pass (policy=none) header.from=videotron.ca; spf=pass (mx1.freebsd.org: domain of pkagan@videotron.ca designates 23.233.128.28 as permitted sender) smtp.mailfrom=pkagan@videotron.ca Received: from AWLDM ([173.178.79.2]) by Videotron with ESMTP id V1L1rX4GhIUiKV1L1rlfOd; Tue, 30 Jan 2024 22:32:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=videotron.ca; s=s1; t=1706671955; bh=xpghvBgPdwC461Lo+qeK+Iv+HRCSrvIwa8PEYkCm/qo=; h=From:To:Subject:Date; b=p0gBZvnt/QjBFcoaLp/wgrw16OkeJHBzSA1vpaUyr2y71uFRdHhBEGJsfuZNixrng RMdkqmVl5lu6YRAma2ULWwK250hRQ0E1C/aSflmYaWaEJqyrlskWCTiCFGdYvoTQ2c 9uwKc5uYyYZZhlTVFqEkXl56Y2KYfqLr70ZbUmjLNVBRhti/ynEwOU3C1K0ZIVevBM m1CwLBJuAvNIfxZ8AmVyKcjlhfDYtpdfRXZ4s0Ou7vY7jA4OlQKe1An7XX40CMPpFI t0Bj6YvctrcmvYFOE8O9vYVhR/ArrdQeymjnKKIy2NbOGXeUrqXN599ftHy6k6quRG crGLi6zopBbdg== X-Authority-Analysis: v=2.4 cv=P4T8xAMu c=1 sm=1 tr=0 ts=65b9bf53 a=8sNthiHmWqMLc6V2qJRLaA==:117 a=8sNthiHmWqMLc6V2qJRLaA==:17 a=DAwyPP_o2Byb1YXLmDAA:9 a=D627BkHD90XJFeaNFkMA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=KjDL-FC8lmMJcfABIcYA:9 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 From: "Paul Kagan" To: Subject: certbot does not work Date: Tue, 30 Jan 2024 22:32:35 -0500 Message-ID: <00c501da53f6$222d8640$668892c0$@videotron.ca> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C6_01DA53CC.39581A80" X-Mailer: Microsoft Outlook 16.0 Content-language: fr Thread-index: AdpT9bsXvcdM6YqmRYOEQdePSFKHkg== X-CMAE-Envelope: MS4xfNo4OoLMFXn4qvLYBV7z+jAr6J/VhZUCi+ZfIPNF/ck00y4EoYqJNi6wvi0lsMlRMk1GLG55X8Hhc39Hoo35ofSMMVqB2KT+UydIiZdMGYHLq2caAMFM DE1K31hTZcz187p4qZBnrwl2/Lu6XWrDCmL7argTQAbKvvTCkpUdcBpQF3yu02zvw2sNppHBFEojeg== X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.22 / 15.00]; DWL_DNSWL_LOW(-1.00)[videotron.ca:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[videotron.ca,none]; NEURAL_HAM_SHORT(-0.22)[-0.217]; R_DKIM_ALLOW(-0.20)[videotron.ca:s=s1]; R_SPF_ALLOW(-0.20)[+ip4:23.233.128.28/30]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[23.233.128.28:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_ENVFROM(0.00)[videotron.ca]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[videotron.ca]; ASN(0.00)[asn:5769, ipnet:23.233.128.0/18, country:CA]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[videotron.ca:+] X-Rspamd-Queue-Id: 4TPnfY1VqVz4PXj This is a multipart message in MIME format. ------=_NextPart_000_00C6_01DA53CC.39581A80 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit root@videotron:/usr/ports/security/openssl # @CRYPTOGRAPHY_OPENSSL_NO_LEGACY @CRYPTOGRAPHY_OPENSSL_NO_LEGACY: Command not found. root@videotron:/usr/ports/security/openssl # setenv CRYPTOGRAPHY_OPENSSL_NO_LEGACY=yes ; certbot setenv: Variable name must contain alphanumeric characters. Traceback (most recent call last): File "/usr/local/bin/certbot", line 33, in sys.exit(load_entry_point('certbot==2.8.0', 'console_scripts', 'certbot')()) File "/usr/local/bin/certbot", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module = import_module(match.group('module')) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/certbot/main.py", line 6, in from certbot._internal import main as internal_main File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", line 21, in import josepy as jose File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line 24, in from OpenSSL import crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 9, in from OpenSSL._util import ( File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 167, in Binding.init_static_locks() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 134, in init_static_locks cls._ensure_ffi_initialized() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 123, in _ensure_ffi_initialized _legacy_provider_error(cls._legacy_provider_loaded) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 43, in _legacy_provider_error raise RuntimeError( RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. root@videotron:/usr/ports/security/openssl # setenv CRYPTOGRAPHY_OPENSSL_NO_LEGACY=yes ; certbot setenv: Variable name must contain alphanumeric characters. Traceback (most recent call last): File "/usr/local/bin/certbot", line 33, in sys.exit(load_entry_point('certbot==2.8.0', 'console_scripts', 'certbot')()) File "/usr/local/bin/certbot", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module = import_module(match.group('module')) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/certbot/main.py", line 6, in from certbot._internal import main as internal_main File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", line 21, in import josepy as jose File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line 24, in from OpenSSL import crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 9, in from OpenSSL._util import ( File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 167, in Binding.init_static_locks() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 134, in init_static_locks cls._ensure_ffi_initialized() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 123, in _ensure_ffi_initialized _legacy_provider_error(cls._legacy_provider_loaded) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl /binding.py", line 43, in _legacy_provider_error raise RuntimeError( RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. root@videotron:/usr/ports/security/openssl # ------=_NextPart_000_00C6_01DA53CC.39581A80 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

root@videotron:/usr/ports/security/openssl # = @CRYPTOGRAPHY_OPENSSL_NO_LEGACY

@CRYPTOGRAPHY_OPENSSL_NO_LEGACY: Command not = found.

root@videotron:/usr/ports/security/openssl # setenv = CRYPTOGRAPHY_OPENSSL_NO_LEGACY=3Dyes ; certbot

setenv: Variable name must contain alphanumeric = characters.

Traceback (most recent = call last):

File = "/usr/local/bin/certbot", line 33, in = <module>

sys.exit(load_entry_point('certbot=3D=3D2.8.0', = 'console_scripts', 'certbot')())

File = "/usr/local/bin/certbot", line 25, in = importlib_load_entry_point

return = next(matches).load()

File = "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in = load

module =3D = import_module(match.group('module'))

File = "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in = import_module

return = _bootstrap._gcd_import(name[level:], package, level)

File "<frozen importlib._bootstrap>", = line 1030, in _gcd_import

File = "<frozen importlib._bootstrap>", line 1007, in = _find_and_load

File "<frozen = importlib._bootstrap>", line 986, in = _find_and_load_unlocked

File = "<frozen importlib._bootstrap>", line 680, in = _load_unlocked

File "<frozen = importlib._bootstrap_external>", line 850, in = exec_module

File "<frozen = importlib._bootstrap>", line 228, in = _call_with_frames_removed

File = "/usr/local/lib/python3.9/site-packages/certbot/main.py", line = 6, in <module>

from = certbot._internal import main as internal_main

File = "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py&qu= ot;, line 21, in <module>

import josepy as jose

File = "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", = line 40, in <module>

from = josepy.json_util import (

File = "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", = line 24, in <module>

from = OpenSSL import crypto

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", = line 8, in <module>

from = OpenSSL import SSL, crypto

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line = 9, in <module>

from = OpenSSL._util import (

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", = line 6, in <module>

from = cryptography.hazmat.bindings.openssl.binding import = Binding

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 167, in <module>

Binding.init_static_locks()

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 134, in = init_static_locks

cls._ensure_ffi_initialized()

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 123, in = _ensure_ffi_initialized

_legacy_provider_error(cls._legacy_provider_loaded)

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 43, in = _legacy_provider_error

raise = RuntimeError(

RuntimeError: OpenSSL = 3.0's legacy provider failed to load. This is a fatal error by default, = but cryptography supports running without legacy algorithms by setting = the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not = expect this error, you have likely made a mistake with your OpenSSL = configuration.

root@videotron:/usr/ports/security/openssl # setenv = CRYPTOGRAPHY_OPENSSL_NO_LEGACY=3Dyes ; certbot

setenv: Variable name must contain alphanumeric = characters.

Traceback (most recent = call last):

File = "/usr/local/bin/certbot", line 33, in = <module>

sys.exit(load_entry_point('certbot=3D=3D2.8.0', = 'console_scripts', 'certbot')())

File = "/usr/local/bin/certbot", line 25, in = importlib_load_entry_point

return = next(matches).load()

File = "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in = load

module =3D = import_module(match.group('module'))

File = "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in = import_module

return = _bootstrap._gcd_import(name[level:], package, level)

File "<frozen importlib._bootstrap>", = line 1030, in _gcd_import

File = "<frozen importlib._bootstrap>", line 1007, in = _find_and_load

File "<frozen = importlib._bootstrap>", line 986, in = _find_and_load_unlocked

File = "<frozen importlib._bootstrap>", line 680, in = _load_unlocked

File "<frozen = importlib._bootstrap_external>", line 850, in = exec_module

File "<frozen = importlib._bootstrap>", line 228, in = _call_with_frames_removed

File = "/usr/local/lib/python3.9/site-packages/certbot/main.py", line = 6, in <module>

from = certbot._internal import main as internal_main

File = "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py&qu= ot;, line 21, in <module>

import josepy as jose

File = "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", = line 40, in <module>

from = josepy.json_util import (

File = "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", = line 24, in <module>

from = OpenSSL import crypto

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", = line 8, in <module>

from = OpenSSL import SSL, crypto

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line = 9, in <module>

from = OpenSSL._util import (

File = "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", = line 6, in <module>

from = cryptography.hazmat.bindings.openssl.binding import = Binding

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 167, in <module>

Binding.init_static_locks()

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 134, in = init_static_locks

cls._ensure_ffi_initialized()

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 123, in = _ensure_ffi_initialized

_legacy_provider_error(cls._legacy_provider_loaded)

File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings= /openssl/binding.py", line 43, in = _legacy_provider_error

raise = RuntimeError(

RuntimeError: OpenSSL = 3.0's legacy provider failed to load. This is a fatal error by default, = but cryptography supports running without legacy algorithms by setting = the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not = expect this error, you have likely made a mistake with your OpenSSL = configuration.

root@videotron:/usr/ports/security/openssl = #

------=_NextPart_000_00C6_01DA53CC.39581A80--