相关疑难解决方法(0)

如何修复curl:(60)SSL证书:证书链无效

curl https://npmjs.org/install.sh | sh在Mac OSX 10.9(Mavericks)上运行以下错误:

install npm@latest
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
Run Code Online (Sandbox Code Playgroud)

我该如何解决?

macos ssl curl node.js npm

42
推荐指数
6
解决办法
10万
查看次数

cURL 错误 60:SSL 证书问题:证书已过期

我们在 amazon ec2 ( backend.abc.com & frontend.abc.com )上运行 2 个应用程序。对于该应用程序,我们使用了付费 SSL 证书。该证书到期日为2021 年 6 月。但是今天,我们遇到了一个错误——

cURL error 60: SSL certificate problem: certificate has expired (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Run Code Online (Sandbox Code Playgroud)

我们检查了证书有效期,但没有问题(2021 年 6 月)。然后我们按照这个线程 - curl:(60)SSL证书问题:无法获得本地颁发者证书(@Dahomz答案)

之后,当我们通过 - 卷曲 abc.com 时curl -v --url https://backend.abc.com --cacert /etc/ssl/ssl.cert/cacert.pem,它工作正常。像这样的回应——

* Rebuilt URL to: https://backend.abc.com/
*   Trying 127.0.0.1...
* Connected to backend.abc.com (127.0.0.1) port 443 (#0)
* found 139 certificates in /etc/ssl/ssl.cert/cacert.pem
* found 600 certificates in /etc/ssl/certs
* ALPN, offering …
Run Code Online (Sandbox Code Playgroud)

ssl curl

36
推荐指数
4
解决办法
4万
查看次数

kubectl无法连接到服务器:x509:由未知权限签名的证书

我在运行kubectl一台机器时遇到错误(windows)

k8s集群正在CentOs 7 kubernetes集群1.7 master,worker上运行

这是我的.kube\config

  
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: REDACTED
    server: https://10.10.12.7:6443
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: system:node:localhost.localdomain
  name: system:node:localhost.localdomain@kubernetes
current-context: system:node:localhost.localdomain@kubernetes
kind: Config
preferences: {}
users:
- name: system:node:localhost.localdomain
  user:
    client-certificate-data: REDACTED
    client-key-data: REDACTED
  

使用kubeadm和pki目录中的默认证书构建集群

kubectl无法连接到服务器:x509:由未知权限签名的证书

ssl kubernetes kubectl

11
推荐指数
10
解决办法
2万
查看次数

标签 统计

ssl ×3

curl ×2

kubectl ×1

kubernetes ×1

macos ×1

node.js ×1

npm ×1