CruiseControl.Net + SSL

僤鯓⒐⒋嵵緔 提交于 2019-12-07 18:50:19

问题


So just installed cruisecontrol.NET on my PC and I am using VisualSVN for the SVN hosting with https:// and a 'dummy' certificate. All this is on my local PC.

The problem is that when I try and run cruisecontrol.NET - it keeps giving me "Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted"

Im not sure how to make cruisecontrol.NET accept that the cert is OK ?

Any ideas ?


回答1:


Run certmgr.msc as the user who your CCNET service is running under. Then, add your SSL cert to the "Personal" cerfiticates in there. The cert will then be trusted.

But it sounds like you also issued the cert to the wrong hostname. So, to fix that, examine your certificate and see what hostname you assigned it for. My guess is that you assigned it to "localhost" and you're referring to your CCNET server by its network name, or vice-versa. You should make sure that whatever URL CCNet is going to matches the hostname on your certificate. So you will either need to change the machine name you're connecting to in CCNET, or you will have to re-issue your certificate.



来源:https://stackoverflow.com/questions/2266138/cruisecontrol-net-ssl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!