gpt4 book ai didi

SVN 的 SSL 证书问题

转载 作者:太空宇宙 更新时间:2023-11-03 14:34:19 25 4
gpt4 key购买 nike

当我从下面给定的 URL 构建扩展时出现以下错误

Maven 目标 - -DskipTests=true clean install sonar:sonar

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.3:sonar (default-cli) on project : The svn blame command [svn blame --xml --non-interactive -x -w src/main/java/xxx.java] failed: svn: E230001: Unable to connect to a repository at URL 'https://xxxxxxd01.xx.com/svn/project/trunk/xx/xxxx.java' [ERROR] svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

尝试过的解决方案:通过命令行和手动接受证书,第一次工作但在系统重启后它不再工作

最佳答案

将以下命令行参数添加到 Sonarqube 运行的命令中:

  • --非交互式
  • --trust-server-cert

错误 svn: E230001: server ssl certificate verification failed: certificate issued for a different hostname, issuer is not trusted updating 表示您在 VisualSVN 服务器中安装了不受信任的 SSL 证书。此外,证书已提供给主机名,这与您用来访问存储库的名称不同。解决此问题的最佳方法是在服务器上安装签名的 SSL 证书。您还应确保在 URL 中输入了正确的主机名。

关于SVN 的 SSL 证书问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49446870/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com