by Paul posted on 2005/07/20 |
|
Options: SecurityOptions options = new SecurityOptions(SecureProtocol.Ssl3);
options.Certificate = GetCertificate();
options.Entity = ConnectionEnd.Client;
options.CommonName = "server";
options.VerificationType = CredentialVerification.Manual;
options.Verifier = new CertVerifyEventHandler(CheckServerCertificate);
options.Flags = SecurityFlags.MutualAuthentication;
options.AllowedAlgorithms = SslAlgorithms.SECURE_CIPHERS;
When the IIS does not require client certificate, all is OK, but otherwise it seems, that is something wrong with the certificate (Loaded is OK, contains private key).
I've also try this in Java and all is OK.
Could someone help?
Thanks
Paul |