Client Certificate problem
From: NRao (NRao_at_discussions.microsoft.com)
Date: 10/12/04
- Next message: Steve_at_smarriott.demon.co.uk: "Re: Web Service timeout crashes clilent"
- Previous message: gladiator: "Attachment"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 12 Oct 2004 09:33:03 -0700
Hello Everbody,
I have a class lib which is accessing a .aspx on web through httpwebrequest
and sending xml through post method. Server people provided me a .cer file. I
am adding that certificate file to httpwebrequest. But their side they do not
find the certificate. I tried following ways. I tried this with console app
as well as ASP.NET
1) Convert the .cer file into binary
2) Imported the .cer file into Certificate store(localcomputer/current user)
and exported the certificate into DER format .cer file and tried
CreateFromCertFile() method.
Can anybody please point right way
Also I have few questions.
1) what preventing the certificate to reach server?
2)I added the certificate to httpwebrequest and sent to my test site and
there I checked Request.ClientCertificate.IsPresent. But I always get false.
Why So? Even if it is not valid certificate should present. right?
- Next message: Steve_at_smarriott.demon.co.uk: "Re: Web Service timeout crashes clilent"
- Previous message: gladiator: "Attachment"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|