解决 git 命令 Problem with the SSL CA cert (path? access rights?)

/etc/pki/nssdb 错误

运行命令: 

 GIT_CURL_VERBOSE=1 git clone  git_repo_url

会输出详细错误信息

Cloning into 'fp_sdk'...
* Couldn't find host xxx.com in the .netrc file; using defaults
* About to connect() to xxx.com port 443 (#0)
*   Trying 10.44.52.77...
* Connected to xxx.com (10.44.52.77) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* Unable to initialize NSS database
* Initializing NSS with certpath: none
* Unable to initialize NSS
* Closing connection 0
fatal: unable to access 'https://git-biz.qianxin-inc.cn/dlp/mousika/fp_sdk.git/': Problem with the SSL CA cert (path? access rights?)

最后发现是系统中libsqlite3.so.0 不在正常位置,导致系统无法调用,打不开nssdb( sqlite格式数据库)

运行   certutil  命令即可发现此问题。

相关推荐

  1. git命令解决冲突,重新拉取代码

    2024-06-07 17:18:04       57 阅读
  2. 分支解决冲突 & 分支管理策略 git merge命令详解

    2024-06-07 17:18:04       57 阅读
  3. git 命令

    2024-06-07 17:18:04       46 阅读
  4. Git 命令

    2024-06-07 17:18:04       45 阅读
  5. git 命令

    2024-06-07 17:18:04       59 阅读
  6. <span style='color:red;'>git</span><span style='color:red;'>命令</span>

    git命令

    2024-06-07 17:18:04      52 阅读
  7. <span style='color:red;'>git</span><span style='color:red;'>命令</span>

    git命令

    2024-06-07 17:18:04      46 阅读
  8. <span style='color:red;'>git</span><span style='color:red;'>命令</span>

    git命令

    2024-06-07 17:18:04      47 阅读
  9. <span style='color:red;'>git</span><span style='color:red;'>命令</span>

    git命令

    2024-06-07 17:18:04      25 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-07 17:18:04       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-07 17:18:04       101 阅读
  3. 在Django里面运行非项目文件

    2024-06-07 17:18:04       82 阅读
  4. Python语言-面向对象

    2024-06-07 17:18:04       91 阅读

热门阅读

  1. anaconda python 版本对应关系

    2024-06-07 17:18:04       25 阅读
  2. Tektronix 泰克 DSA8300 光模块测试

    2024-06-07 17:18:04       29 阅读
  3. 《python》在用户包下安装库出现权限报错

    2024-06-07 17:18:04       30 阅读
  4. React 之 mobx-state-tree(Redux替代品) 状态管理

    2024-06-07 17:18:04       29 阅读
  5. vscode 如何debug(二)

    2024-06-07 17:18:04       48 阅读