In tests the ClientCertificate property is null.

IIS fills this with an empty object. Thats why I check for .Length == 0.