簡體   English   中英

Cruise Control異常:服務器SSL證書驗證失敗:為其他主機名頒發的證書,不信任頒發者

[英]Cruise Control Exception : Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

我在Cruise Control上收到以下錯誤。 許多論壇都對此進行了討論,但找不到解決方案。

ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: E230001: Unable to connect to a repository at URL 'https://101.17.12.47:11/svn/SOURCE'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
. Process command: C:\Program Files\TortoiseSVN\bin\svn.exe log https://101.17.12.47:11/svn/SOURCE -r "{2015-12-02T10:55:27Z}:{2015-12-02T10:55:33Z}" --verbose --xml --username dev03 --password ******** --no-auth-cache --non-interactive
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

我嘗試了以下解決方案: svn命令行錯誤“服務器證書驗證失敗:發行者不受信任”我如何解決此錯誤?

使用巡航控制使用的帳戶登錄到托管CruiseControl.Net的服務器。 打開命令提示符並鍵入: svn list https:// 當提示您接受證書例外時,永久鍵入p

感謝您的幫助!

通過使用SVN服務器的主機名而不是IP地址,您應該能夠避免此錯誤。 為確保您使用SSL證書上發布的確切名稱,您可能需要使用Web瀏覽器瀏覽到https://101.17.12.47:11/svn/SOURCE ,然后單擊SSL鏈接以查看證書和查看將其發布到的主機名。

然后,您應該在巡航控制配置中更新svn url,以使用主機名而不是101.17.12.47。 根據您SSL證書的狀態,您可能仍然會遇到其他錯誤,需要您進行處理。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM