py39-cryptography
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*py39-cryptography [#qee5ef0f]
2023/09/07現在、py39-cryptographyは、3.4.8_1,1 ではなく、
py39-cryptography-3.4.8_1,1 < needs updating (i...
でないと、py39-certbot で、エラーとなる。ので、入れ換える...
pkg upgrade py39-cryptography-3.4.8_1,1
するも、
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
と言われてアップグレードできない。
さらに悪いことは重なるもので、ports の security/py-cryptg...
===> Cargo config:
[source.cargo]
directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.1...
[source.crates-io]
replace-with = 'cargo'
===> Updating Cargo.lock
*** Signal 11
といったエラー。検索しても今のところ解決策は闇
最新バージョンは、
# pkg version -n py39-cryptography -v
py39-cryptography-3.4.8_1,1 < needs updating (i...
だが、pkg upgrade -f してもバージョンはそのまま・・・
依存関係のpkgを全部入れ換えないと駄目なんだろうか?
# pkg delete py39-cryptography-3.4.8_1,1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 11 p...
Installed packages to be REMOVED:
py39-acme: 2.6.0,1
py39-aioquic: 0.9.21
py39-certbot: 2.6.0,1
py39-cryptography: 3.4.8_1,1
py39-dnspython: 2.4.2,1
py39-josepy: 1.13.0
py39-openssl: 23.2.0,1
py39-recommonmark: 0.5.0_2
py39-requests: 2.31.0
py39-sphinx: 5.3.0_1,1
py39-urllib3: 1.26.16,1
Number of packages to be removed: 11
The operation will free 28 MiB.
Proceed with deinstalling packages? [y/N]:
*別マシーンのパッケージを移植する [#xa466d20]
目的のパッケージは、
/usr/local/lib/python3.9/site-packages/cryptography
/usr/local/lib/python3.9/site-packages/cryptography-41.0....
/usr/local/share/licenses/py39-cryptography-41.0.3,1
のディレクトリに保存されている模様なので、これらをtarでま...
certbot renew --dry-run
で、動作確認がとれ、無事、サイト証明書の発行ができました...
----
一基 certbot が、Sig 11 で落ちる機体がある。これを何とか...
locate certbot
/usr/local/bin/certbot
/usr/local/bin/certbot-3.9
/usr/local/lib/python3.9/site-packages/certbot
/usr/local/share/licenses/py39-certbot-2.11.0,1
# certbot renew --dry-run
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 5, in <module>
from certbot.main import main
File "/usr/local/lib/python3.9/site-packages/certbot/ma...
from certbot._internal import main as internal_main
File "/usr/local/lib/python3.9/site-packages/certbot/_i...
from acme import client as acme_client
ImportError: cannot import name 'client' from 'acme' (un...
acme_client
/usr/local/lib/python3.9/site-packages/acme
/usr/local/lib/python3.9/site-packages/acme-2.11.0.dist-...
/usr/local/share/licenses/py39-acme-2.11.0,1
certbot 正常動作のマシンから 上記ファイル群をインストール...
# certbot renew --dry-run
An unexpected error occurred:
KeyError: 'manual'
Ask for help or search for solutions at https://communit...
のようなエラー。エラーログファイルは、
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:cer...
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:Loc...
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:Arg...
2024-07-22 16:47:11,712:DEBUG:certbot._internal.main:Dis...
2024-07-22 16:47:11,719:DEBUG:certbot._internal.log:Exit...
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/certbot/m...
return internal_main.main(cli_args)
File "/usr/local/lib/python3.9/site-packages/certbot/_...
config = cli.prepare_and_parse_args(plugins, cli_args)
File "/usr/local/lib/python3.9/site-packages/certbot/_...
helpful.add(
File "/usr/local/lib/python3.9/site-packages/certbot/_...
self.actions.append(self._add(topics, *args, **kwarg...
File "/usr/local/lib/python3.9/site-packages/certbot/_...
if not isinstance(topic, bool) and self.visible_topi...
KeyError: 'manual'
2024-07-22 16:47:11,719:ERROR:certbot._internal.log:An u...
2024-07-22 16:47:11,720:ERROR:certbot._internal.log:KeyE...
----
正常終了したportupgrade -r --batch py39-certbot-2.9.0,1
[Reading data from pkg(8) ... - 526 packages found - done]
---> Installing the new version via the port
===> Deinstalling for py39-certbot
===> py39-certbot not installed, skipping
===> Installing for py39-certbot-2.11.0,1
===> Checking if py39-certbot is already installed
===> Registering installation for py39-certbot-2.11.0,1
Installing py39-certbot-2.11.0,1...
This port installs the "standalone" client only, which d...
is not the certbot-auto bootstrap/wrapper script.
The simplest form of usage to obtain certificates is:
# sudo certbot certonly --standalone -d <domain>, [doma...
NOTE:
The client requires the ability to bind on TCP port 80 o...
on the --preferred-challenges option used). If a server ...
port, it will need to be temporarily stopped so that the...
can listen on that port to complete the challenge authen...
For more information on the 'standalone' mode, see:
https://certbot.eff.org/docs/using.html#standalone
The certbot plugins to support apache and nginx certific...
will be made available in the following ports:
* Apache plugin: security/py-certbot-apache
* Nginx plugin: security/py-certbot-nginx
In order to automatically renew the certificates, add th...
/etc/periodic.conf:
weekly_certbot_enable="YES"
More config details in the certbot periodic script:
/usr/local/etc/periodic/weekly/500.certbot-3.9
===> Cleaning for py39-sphinx-5.3.0_3,1
===> Cleaning for py39-sphinx_rtd_theme-1.0.0
===> Cleaning for py39-repoze.sphinx.autointerface-0.8
===> Cleaning for py39-certbot-2.11.0,1
---> Cleaning out obsolete shared libraries
** www には以下の二つの pkg info が無い [#m7b4c9f6]
py39-sphinx_rtd_theme-1.0.0
py39-repoze.sphinx.autointerface-0.8
** Makefile [#pd88d672]
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:deve...
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FL...
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION...
${PYTHON_PKGNAMEPREFIX}configargparse>=1.5.3:devel/py-...
${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-confi...
${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:sysutils/py-distr...
${PYTHON_PKGNAMEPREFIX}josepy>=1.13.0:security/py-jose...
${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.4:devel/py-par...
${PYTHON_PKGNAMEPREFIX}pyrfc3339>=0:devel/py-pyrfc3339...
${PYTHON_PKGNAMEPREFIX}pytz>=2019.3,1:devel/py-pytz@${...
${PYTHON_PKGNAMEPREFIX}setuptools>=41.6.0:devel/py-set...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*py39-cryptography [#qee5ef0f]
2023/09/07現在、py39-cryptographyは、3.4.8_1,1 ではなく、
py39-cryptography-3.4.8_1,1 < needs updating (i...
でないと、py39-certbot で、エラーとなる。ので、入れ換える...
pkg upgrade py39-cryptography-3.4.8_1,1
するも、
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
と言われてアップグレードできない。
さらに悪いことは重なるもので、ports の security/py-cryptg...
===> Cargo config:
[source.cargo]
directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.1...
[source.crates-io]
replace-with = 'cargo'
===> Updating Cargo.lock
*** Signal 11
といったエラー。検索しても今のところ解決策は闇
最新バージョンは、
# pkg version -n py39-cryptography -v
py39-cryptography-3.4.8_1,1 < needs updating (i...
だが、pkg upgrade -f してもバージョンはそのまま・・・
依存関係のpkgを全部入れ換えないと駄目なんだろうか?
# pkg delete py39-cryptography-3.4.8_1,1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 11 p...
Installed packages to be REMOVED:
py39-acme: 2.6.0,1
py39-aioquic: 0.9.21
py39-certbot: 2.6.0,1
py39-cryptography: 3.4.8_1,1
py39-dnspython: 2.4.2,1
py39-josepy: 1.13.0
py39-openssl: 23.2.0,1
py39-recommonmark: 0.5.0_2
py39-requests: 2.31.0
py39-sphinx: 5.3.0_1,1
py39-urllib3: 1.26.16,1
Number of packages to be removed: 11
The operation will free 28 MiB.
Proceed with deinstalling packages? [y/N]:
*別マシーンのパッケージを移植する [#xa466d20]
目的のパッケージは、
/usr/local/lib/python3.9/site-packages/cryptography
/usr/local/lib/python3.9/site-packages/cryptography-41.0....
/usr/local/share/licenses/py39-cryptography-41.0.3,1
のディレクトリに保存されている模様なので、これらをtarでま...
certbot renew --dry-run
で、動作確認がとれ、無事、サイト証明書の発行ができました...
----
一基 certbot が、Sig 11 で落ちる機体がある。これを何とか...
locate certbot
/usr/local/bin/certbot
/usr/local/bin/certbot-3.9
/usr/local/lib/python3.9/site-packages/certbot
/usr/local/share/licenses/py39-certbot-2.11.0,1
# certbot renew --dry-run
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 5, in <module>
from certbot.main import main
File "/usr/local/lib/python3.9/site-packages/certbot/ma...
from certbot._internal import main as internal_main
File "/usr/local/lib/python3.9/site-packages/certbot/_i...
from acme import client as acme_client
ImportError: cannot import name 'client' from 'acme' (un...
acme_client
/usr/local/lib/python3.9/site-packages/acme
/usr/local/lib/python3.9/site-packages/acme-2.11.0.dist-...
/usr/local/share/licenses/py39-acme-2.11.0,1
certbot 正常動作のマシンから 上記ファイル群をインストール...
# certbot renew --dry-run
An unexpected error occurred:
KeyError: 'manual'
Ask for help or search for solutions at https://communit...
のようなエラー。エラーログファイルは、
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:cer...
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:Loc...
2024-07-22 16:47:11,711:DEBUG:certbot._internal.main:Arg...
2024-07-22 16:47:11,712:DEBUG:certbot._internal.main:Dis...
2024-07-22 16:47:11,719:DEBUG:certbot._internal.log:Exit...
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/certbot/m...
return internal_main.main(cli_args)
File "/usr/local/lib/python3.9/site-packages/certbot/_...
config = cli.prepare_and_parse_args(plugins, cli_args)
File "/usr/local/lib/python3.9/site-packages/certbot/_...
helpful.add(
File "/usr/local/lib/python3.9/site-packages/certbot/_...
self.actions.append(self._add(topics, *args, **kwarg...
File "/usr/local/lib/python3.9/site-packages/certbot/_...
if not isinstance(topic, bool) and self.visible_topi...
KeyError: 'manual'
2024-07-22 16:47:11,719:ERROR:certbot._internal.log:An u...
2024-07-22 16:47:11,720:ERROR:certbot._internal.log:KeyE...
----
正常終了したportupgrade -r --batch py39-certbot-2.9.0,1
[Reading data from pkg(8) ... - 526 packages found - done]
---> Installing the new version via the port
===> Deinstalling for py39-certbot
===> py39-certbot not installed, skipping
===> Installing for py39-certbot-2.11.0,1
===> Checking if py39-certbot is already installed
===> Registering installation for py39-certbot-2.11.0,1
Installing py39-certbot-2.11.0,1...
This port installs the "standalone" client only, which d...
is not the certbot-auto bootstrap/wrapper script.
The simplest form of usage to obtain certificates is:
# sudo certbot certonly --standalone -d <domain>, [doma...
NOTE:
The client requires the ability to bind on TCP port 80 o...
on the --preferred-challenges option used). If a server ...
port, it will need to be temporarily stopped so that the...
can listen on that port to complete the challenge authen...
For more information on the 'standalone' mode, see:
https://certbot.eff.org/docs/using.html#standalone
The certbot plugins to support apache and nginx certific...
will be made available in the following ports:
* Apache plugin: security/py-certbot-apache
* Nginx plugin: security/py-certbot-nginx
In order to automatically renew the certificates, add th...
/etc/periodic.conf:
weekly_certbot_enable="YES"
More config details in the certbot periodic script:
/usr/local/etc/periodic/weekly/500.certbot-3.9
===> Cleaning for py39-sphinx-5.3.0_3,1
===> Cleaning for py39-sphinx_rtd_theme-1.0.0
===> Cleaning for py39-repoze.sphinx.autointerface-0.8
===> Cleaning for py39-certbot-2.11.0,1
---> Cleaning out obsolete shared libraries
** www には以下の二つの pkg info が無い [#m7b4c9f6]
py39-sphinx_rtd_theme-1.0.0
py39-repoze.sphinx.autointerface-0.8
** Makefile [#pd88d672]
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:deve...
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FL...
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION...
${PYTHON_PKGNAMEPREFIX}configargparse>=1.5.3:devel/py-...
${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-confi...
${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:sysutils/py-distr...
${PYTHON_PKGNAMEPREFIX}josepy>=1.13.0:security/py-jose...
${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.4:devel/py-par...
${PYTHON_PKGNAMEPREFIX}pyrfc3339>=0:devel/py-pyrfc3339...
${PYTHON_PKGNAMEPREFIX}pytz>=2019.3,1:devel/py-pytz@${...
${PYTHON_PKGNAMEPREFIX}setuptools>=41.6.0:devel/py-set...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: