STUDY WHILE YOU ARE BORING


  • 首頁

  • 搜索

  • 技术

  • Tags

  • 关于我

当redmine遇上https 的svn

發表於 December 6, 2014   |   作者: Tim   |   分类: 技术   |   评论

redmine里面配置项目的svn库一直显示40x。经过推敲,应该是svn 服务器https证书问题。

  • 先要在本机checkout一次,保存svn配置

cd <%redmine所在文件夹%>
svn --config-dir webserverRedmine co https://<;目标SVN地址> <文件夹名>(文件夹名随意,该文件夹会生成在cmd的当前工作目录,是从svn服务器上同步下来的内容,可以删除)。

  • 修改redmine配置文件

修改<%redmine所在文件夹%>libredminescmadapters文件夹下subversion_adapter.rb的内容
将

str << " --no-auth-cache --non-interactive"

改为

str << "  --trust-server-cert --no-auth-cache --non-interactive --config-dir <%redmine所在文件夹%>/webserverRedmine"
  • 重启redmine 所有服务

搞定

redmine, svn, https
UPS Shipment IdentifyID (SHIPID) 如何生成?
Axure 的多人协作操作经验分享

钜添

56 文章
2 分類
1 页面
GitHub 日记技术
php apache centos macos mysql https shadowsocks mac 微信 ups svn javascript outline accesskey Chrome Extension letsencrypt ssl free certification certbo wildcard renew cloudflare pgsql 归档 binlog isset array_key_exists redmine axure
© 2026 钜添   |   文章 RSS     |  登录
由 Typecho 强力驱动
主題 - NexT
Send message encrypted and private - Msg2
Build your Under Construction Page without hosting - UnderConstruct.IO