svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostnam

在使用IDEA创建新的SVN连接时遇到错误:svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname。解决方案是在设置中配置Subversion,信任无效的证书,以允许连接到http://ip:port/svn...类型的仓库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

IDEA SVN创建连接时出错

背景

使用IDEA创建新的SVN连接时,IDEA报如下错误:
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname
大意是 服务器SSL证书验证失败,证书是不同主机的证书

解决方法

  • 打开settings -> subversion
    在这里插入图片描述
    或使用快捷键Ctrl+Shift+A,在操作中输入subversion
    Ctrl+Shift+A在这里插入图片描述
  • 按如图所示配置,适用于 http://ip:port/svn…的方式

解释

报错含义是证书验证失败,而勾选的配置 是可以信任无效的证书。

Emulates the behavior when Subversion commands are executed directly from the terminal (in the interactive mode).
This is required to handle password/passphrase prompts for svn+ssh repositories, and trust invalid server invalid server certificates for https

模拟直接从终端(在交互模式下)执行subversion命令时的行为。

这是处理svn+ssh存储库的密码/口令提示所必需的,并信任无效的服务器https存储库的无效服务器证书

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值