Public Key & Certificate Validation
-
Does any know of a way in C# to contact a web server and get the public SSL certificate information? I know all of this is handled by web service calls over https but I need the certificate to do some offline processing outside of webservices. Any help would be greatly appreciated. ~Nick
Forever Developing
-
Does any know of a way in C# to contact a web server and get the public SSL certificate information? I know all of this is handled by web service calls over https but I need the certificate to do some offline processing outside of webservices. Any help would be greatly appreciated. ~Nick
Forever Developing
-
That namespace is used for code access security. I am interested in Public Key Encryption. I am look for a way to contact a web server and have it transmit me its public key. ~Nick
Forever Developing
-
That namespace is used for code access security. I am interested in Public Key Encryption. I am look for a way to contact a web server and have it transmit me its public key. ~Nick
Forever Developing
-
led mike, Thank for the information but I am not using sockets or streams. I have a set of files that are digitally signed and I want to make sure their signatures are valid. After getting the files and the digital signatures I need the URL's public key to validate the Signatures. Using Fiddler I noticed the following response on a 443 connect. However, I am not sure how this would translate to x509 certificate in C# code. ~Nick HTTP/1.1 200 Connection Established This is a HTTPS CONNECT Tunnel. Secure traffic flows through this connection. Secure Protocol: Tls Cipher: Rc4 128bits Hash Algorithm: Md5 128bits Key Exchange: RsaSign 1024bits Certificate: [Subject] CN=www.intellicheck.com, OU=Secure Link SSL, OU=Data Systems, O="Intelli-Check, Inc.", STREET=246 Crossways Park West, L=Woodbury, S=NY, PostalCode=11797, C=US [Issuer] CN=Network Solutions Certificate Authority, O=Network Solutions L.L.C., C=US [Serial Number] 00F36126851351E1E58CD16C5DA38A430C [Not Before] 9/5/2005 8:00:00 PM [Not After] 9/5/2008 7:59:59 PM [Thumbprint] BAF241B7E84E5663AE70D7470076EF1D0CAEF222
Forever Developing