Saturday 2 March 2019

windows 7 - Trust SSL certificate to local system account


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:




  1. Double-click the .crt file.




  2. Click Install certificate..., then Next >.




  3. Choose Place all certificates in the following store and click Browse...




  4. Choose Trusted Root Certification Authorities and click OK.




  5. Click Next >, then Finish.




This has however the drawback that Windows will trust any certificate signed by the same CA.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...