1

Closed

SSL Certificate Check

description

If you enable the SSL option and the certificate on the server is not valid (in our case self-cert'ed) then the connection is refused.

Fix is to add..
            ServicePointManager.ServerCertificateValidationCallback =
                new RemoteCertificateValidationCallback(delegate
                                                            {
                                                                return true;
                                                            });
I've done this in the patch I've just submitted and included a new TeamCityClient ctor param "TrustSslCertificate" to enable this.
Closed Jul 27, 2011 at 1:00 PM by
Patch is integrated in Version 1.2

comments

wrote Jul 27, 2011 at 10:51 AM

Fixed on changeset 9207