C# - ungültiges SSL-Zertifikat ignorieren

December 7th, 2007

Um mal schnell eine SSL/TLS-Datenübertragung zu testen, ist es praktisch, wenn man ein ungültiges SSL-Zertifikat auch mal ignorieren kann. Mit diesem Code hier geht das:

using System.Net;

ServicePointManager.ServerCertificateValidationCallback =
new RemoteCertificateValidationCallback
(IgnoreCertificateErrorHandler);

private bool IgnoreCertificateErrorHandler
(object sender,
System.Security.Cryptography.X509Certificates.X509Certificate [...]

IE7 does not display Google Maps under W2K3

November 16th, 2007

After I installed Internet Explorer 7 on a Windows Server 2003 machine, Google Maps did not work anymore. The page loaded partly but there maps did not load. After playing around with security zones which did not help anything I discovered that there are special security settings for Internet Explorer which can be disabled easily [...]