一两天后,我的旧 php 容器 (dockerhub php:5.4-apache) 无法再使用curl。这是在此容器内运行curl 时的日志。
$> docker run --rm -ti php:5.6-apache bash
$> curl -X POST https://xxxxx.com
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the …Run Code Online (Sandbox Code Playgroud) 我有两个 Tomcat 服务器,具有不同的“cacerts”文件。一方面,运行“keytool -list -keystore cacerts”表示我的密钥库包含 95 个条目,另一方面,它显示 96 个条目。我尝试保存列表输出并对它们运行 diff,但证书的顺序似乎不同。在我写东西之前,是否有一个智能实用程序可以告诉我文件之间的差异?谢谢!
安装了whatasppp Business api,点击链接 https://developers.facebook.com/docs/whatsapp/installation
登录 https://localhost:9090/
注册时需要电话号码和证书。
设置 Whatsapp Business APP 的电话号码,然后在 Facebook 业务管理器中添加该号码。
但无法获得完成注册的证书。链接https://developers.facebook.com/docs/whatsapp/api/account中有说明 ,但无法遵循它,没有设置选项卡或 Whatsapp 管理器按钮来获取第三点中提到的证书。
有用的链接
嵌入式
https://www.facebook.com/business/help/2640149499569241
直接的
https://developers.facebook.com/docs/whatsapp/cloud-api/get-started
确认
我使用的是 JRE 8u211。我在 cacerts 中添加了一些证书。但是当我将 JRE 升级到 8u261 时,这些证书没有被导入。所以现在我想使用别名以编程方式从 8u211 的 cacerts 文件中导出所需的证书,然后将这些证书导入到 8u261 的 cacerts 文件中。
这是否可能或支持?
提前致谢。
我已经通过sudo yum install ca-certificates命令安装了 ca-certificates 包,但是在尝试运行命令时出现错误sudo update-ca-certificates,因为找不到它。可能是什么问题?我尝试寻找该包(以防 PATH 出现问题),但我没能在机器上找到它。
我一直试图通过阅读这里的不同答案来解决这个问题,但没有一个答案被证明是“解决方案”,所以我会尝试简要解释我的情况,以便你们可以给我一个线索。问题是,当我尝试运行pip install <package>它时,会出现以下警告(只是为了向您展示,使用 fastapi 作为示例):
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) …Run Code Online (Sandbox Code Playgroud)