Re: Client Certificate not reaching server
From: NRao (NRao_at_discussions.microsoft.com)
Date: 10/12/04
- Next message: Kevin Burton: "Re: Constructor and type permissions."
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 12 Oct 2004 12:07:08 -0700
Joe,
Thanks for your reply. Now I am bit clear but you said ClientCertificates
authenicate local user. What does it mean? Clould you please elobarate. Why
we authenticate a localuser?
Also Web Server people provided me a certificate(.cer file). Is this is not
enough to attach it to httpwebrequest and on their server can not they check
whether Certificate is there? For me this is bit confusing. Could you please
elobarate or please point to me a right resouce.
Thank
NRao
"Joe Kaplan (MVP - ADSI)" wrote:
> In order to use a client certificate, you need a private key installed in a
> crypto store that the current process can access. Client certificates
> authenticate the local user, not the server, so the private key is needed.
>
> ..cer files don't contain private keys. Normally, you'd get a p12 or pfx
> file that you can import.
>
> Joe K.
>
> "NRao" <NRao@discussions.microsoft.com> wrote in message
> news:CBE0D3D0-CE78-4A3B-9EC7-F3CF85AD2C53@microsoft.com...
> > 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
> >
> > 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: Kevin Burton: "Re: Constructor and type permissions."
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Client Certificate not reaching server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|