From nobody Wed Jan 31 05:21:26 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 4TPr3x0zYZz58Ry8 for ; Wed, 31 Jan 2024 05:21:17 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPr3v6SZ0z4fSj for ; Wed, 31 Jan 2024 05:21:15 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LAxdqo7D; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=pprocacci@gmail.com Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a35385da5bbso628845366b.3 for ; Tue, 30 Jan 2024 21:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706678473; x=1707283273; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=22KwKbtywQ0qoMBvbIxeEb6QCSLUHnVxdivV5cjiQso=; b=LAxdqo7D+PAOL19y8vRToZvPLQOVO5XpqoR35O20/L53NCor4T8HFyBIXI0TJh4Riz 4YVJn1WSxbT83o81GIulrt846oToozNTTuywVkpW8Y8jQmTztW8ryQj6mn5ftKROIE0b j9tM/xMfkzrUM/65L7thTEu18Z1ww5cPrnbV2v2sVr4D2wYRUR8djrhsQIXw+Jfa4Xkd o7FeFviSfdX5YawTE5m+Dc/6i4/S9ThcVIz5uw9UK0p+vbpD4q7Beb1rgeppbjNr7Pk2 /DjYdyfsOMPbx1ljOnnK93czcaTOZLac7npUZqUX3ukJD5r/PLHrnJUZ2yfLnUmqn9OG ktxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706678473; x=1707283273; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=22KwKbtywQ0qoMBvbIxeEb6QCSLUHnVxdivV5cjiQso=; b=ZMbtQay6Zh+vqJjNAlBBNpT3+4yIbILyZGI44wskd3nhF9KEcNQn8ohhlr67jHkoZ6 weglUFZmUcOeO1iarU6zpxXg7a8yAh0zZyd/05kFQEHY1pByWfeJml4Pq9Jy/aI/rESl reFDgntECWAB3dryfrRfb4GeaxY+Bx5Xeox+hAEwSerNESQcrj/QwXbiyoGiHIoW+H5A 5fNcCxEA2VqNDNd+fyO+TQ/RwRSCPOFfSpTZRfSiCUqz4crJLH7HMi9bbuNHI7ni5C4B mBrYmK1DwlovzhQpOE6pK7U92KeWJpFxyKpRwtojS9JoAfpaOpdb1z4X/UNVdfG2JNl+ knVg== X-Gm-Message-State: AOJu0YwX5/goUjRR1T49ICKea2jDw+0IN9q4FSwqBfu3S/XruESF7jXB S7f0f+7GnQGm4ZV8AmZjwWjNfhuG9NOmASMJc9JD9ATBO8xmWAqc3NxwKK+ebfVI/FjoGiZU0vk fqRGpfZt4XOlC2eN1LN3cCF6TdAhtgs0= X-Google-Smtp-Source: AGHT+IHWlBTJUQ+ZRJ4TgyLuO78X17GfXlDWn4z5uu/B+4NhYRk5tnYGVeua9uCgV0+xFKl5Nv9WdNIT1MCi8NWgvLE= X-Received: by 2002:a17:906:f296:b0:a30:e4d8:2e46 with SMTP id gu22-20020a170906f29600b00a30e4d82e46mr310692ejb.20.1706678473500; Tue, 30 Jan 2024 21:21:13 -0800 (PST) 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 References: <00c501da53f6$222d8640$668892c0$@videotron.ca> In-Reply-To: From: Paul Procacci Date: Wed, 31 Jan 2024 00:21:26 -0500 Message-ID: Subject: Re: certbot does not work To: Paul Kagan Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000028ade70610370c1d" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.21 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.21)[-0.211]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_TO(0.00)[videotron.ca]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:from] X-Rspamd-Queue-Id: 4TPr3v6SZ0z4fSj --00000000000028ade70610370c1d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2024 at 12:19=E2=80=AFAM Paul Procacci wrote: > > > On Tue, Jan 30, 2024 at 10:33=E2=80=AFPM Paul Kagan = wrote: > >> 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 >> >> 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 "", line 1030, in _gcd_import >> >> File "", line 1007, in _find_and_load >> >> File "", line 986, in _find_and_load_unlock= ed >> >> 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, i= n >> >> >> 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/ope= nssl/binding.py", >> line 167, in >> >> Binding.init_static_locks() >> >> File >> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/ope= nssl/binding.py", >> line 134, in init_static_locks >> >> cls._ensure_ffi_initialized() >> >> File >> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/ope= nssl/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/ope= nssl/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 ha= ve >> 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 >> >> 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 "", line 1030, in _gcd_import >> >> File "", line 1007, in _find_and_load >> >> File "", line 986, in _find_and_load_unlock= ed >> >> 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, i= n >> >> >> 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/ope= nssl/binding.py", >> line 167, in >> >> Binding.init_static_locks() >> >> File >> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/ope= nssl/binding.py", >> line 134, in init_static_locks >> >> cls._ensure_ffi_initialized() >> >> File >> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/ope= nssl/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/ope= nssl/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 ha= ve >> likely made a mistake with your OpenSSL configuration. >> >> root@videotron:/usr/ports/security/openssl # >> > > What is your shell? > setenv is a csh builtin. > The default shell was changed to /bin/ss. Did you account for this chang= e? > > ~Paul > > -- > __________________ > > :(){ :|:& };: > Sorry, I quite literally just woke up. The default shell was changed to /bin/sh. ~Paul --=20 __________________ :(){ :|:& };: --00000000000028ade70610370c1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Jan 31, 2024 at 12:19=E2= =80=AFAM Paul Procacci <pprocacci= @gmail.com> wrote:


On Tue, Jan 30, 2024= at 10:33=E2=80=AFPM Paul Kagan <pkagan@videotron.ca> wrote:

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

@CRYPTOGRAPHY_OPENSSL= _NO_LEGACY: Command not found.

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

setenv: Variabl= e name must contain alphanumeric characters.

Traceback (most recent call last):

File "/usr/local/bin/certbot", line 33, in <module&g= t;

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

File "/usr/local/bin/certbot&quo= t;, 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(ma= tch.group('module'))

File &= quot;/usr/local/lib/python3.9/importlib/__init__.py", line 127, in imp= ort_module

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

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

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

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

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

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

File "<frozen importlib._bootstrap>&quo= t;, line 228, in _call_with_frames_removed

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

fro= m certbot._internal import main as internal_main

File "/usr/local/lib/python3.9/site-packages/certbot/_i= nternal/main.py", 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 &quo= t;/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line 24= , in <module>

from OpenSSL im= port crypto

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

from OpenSSL import SSL, crypt= o

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

from OpenSSL._util import (

=

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

from cryptography.hazmat.bindings.openssl.binding import Bin= ding

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

Binding= .init_static_locks()

File "/us= r/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/bi= nding.py", line 134, in init_static_locks

cls._ensure_ffi_initialized()

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

_legacy_provider_error(cls._legacy_p= rovider_loaded)

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

raise RuntimeError(

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

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

setenv: Variable name must= contain alphanumeric characters.

T= raceback (most recent call last):

F= ile "/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

r= eturn next(matches).load()

File &qu= ot;/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_modul= e

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

File &qu= ot;<frozen importlib._bootstrap>", line 1030, in _gcd_import<= /u>

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

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

File &quo= t;<frozen importlib._bootstrap>", line 680, in _load_unlocked=

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

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

F= ile "/usr/local/lib/python3.9/site-packages/certbot/main.py", lin= e 6, in <module>

from certbot= ._internal import main as internal_main

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

import josepy as jose

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

from josepy.jso= n_util import (

File "/usr/loc= al/lib/python3.9/site-packages/josepy/json_util.py", line 24, in <m= odule>

from OpenSSL import crypt= o

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-pa= ckages/OpenSSL/SSL.py", line 9, in <module>

from OpenSSL._util import (

File "/usr/local/lib/python3.9/site-packages/OpenSSL/_u= til.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_stat= ic_locks()

File "/usr/local/li= b/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py&q= uot;, line 134, in init_static_locks

cls._ensure_ffi_initialized()

Fil= e "/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_lo= aded)

File "/usr/local/lib/pyt= hon3.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 set= ting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did no= t expect this error, you have likely made a mistake with your OpenSSL confi= guration.

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

<= br clear=3D"all">
What is your shell?
setenv is a csh builtin.=
The default shell was changed to /bin/ss.=C2=A0 Did you account = for this change?

~Paul

--
__________________

:(){ :|:& };:

Sorry, I quite literally ju= st woke up.=C2=A0 The default shell was changed to /bin/sh.

<= /div>
~Paul
--
__________________
:(){ :|:& };:
--00000000000028ade70610370c1d--