小编Car*_*nez的帖子

www.postgres.org证书过期如何处理?

从 postgres 网站获取证书密钥时,我开始遇到错误:

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
#6 0.310 --2021-10-04 20:56:35--  https://www.postgresql.org/media/keys/ACCC4CF8.asc
#6 0.315 Resolving www.postgresql.org (www.postgresql.org)... 87.238.57.232, 72.32.157.230, 217.196.149.50, ...
#6 0.318 Connecting to www.postgresql.org (www.postgresql.org)|87.238.57.232|:443... connected.
#6 0.902 ERROR: The certificate of 'www.postgresql.org' is not trusted.
#6 0.902 ERROR: The certificate of 'www.postgresql.org' has expired.
Run Code Online (Sandbox Code Playgroud)

我尝试使用 来解决这个问题--no-check-certificate,但是在安装 postgres 库时遇到了不同的问题:

apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y \
    postgresql-client-common postgresql-client-13 \
    && rm -rf /var/lib/apt/lists/*

#9 2.579   404  Not Found [IP: …
Run Code Online (Sandbox Code Playgroud)

postgresql certificates

4
推荐指数
2
解决办法
6045
查看次数

标签 统计

certificates ×1

postgresql ×1