I have the following need:
A windows service needs to connect to a svn repository through https. The service needs also to run as local system account for IO permissions on the machine.
Now when the service tries to connect to SVN, it throws an error saying that the certificate is not trusted (it's a self signed certificate).
I have no access to the service source code to add the svn option to trust certificate and accept it permanently. So I need to know how, in windows, add that SSL certificate to the local system account trusted certificates.
Is that possible, and if it is, what are the steps to do that?
Thanks.
Answer
Follow these steps to trust a certificate system-wide:
Double-click the
.crt
file.Click
Install certificate...
, thenNext >
.Choose
Place all certificates in the following store
and clickBrowse..
.Choose
Trusted Root Certification Authorities
and clickOK
.Click
Next >
, thenFinish
.
This has however the drawback that Windows will trust any certificate signed by the same CA.
No comments:
Post a Comment