Thank you David, for your help.
"David Wang" <w3.4you@gmail.com> wrote in message
news:1187252080.373084.162030@q4g2000prc.googlegroups.com...
> Your authentication protocol is not possible to implement in the
> smooth fashion that you imagine, especially if you plan to use generic
> browsers like IE/Firefox/Opera or generic servers like Apache/IIS/
> Java.
>
> With SSL, IIS supports ignoring, accepting, or requiring client
> certificate. With the latter two options, IIS certainly supports
> accepting any certificate from anyone. The question is whether you can
> *compel* the user to send the certificate when it is optional.
>
> If you don't force the user to send the certificate, then you'll never
> get the logic of "certificate first, then fallback to login screen".
> If you DO force the user to send the certificate, no web server will
> allow a "fallback to login screen". Why? Because that is a custom
> authentication scheme unsupported by standards. SSL Client Certificate
> protocol never says it works like what you dream.
>
>
> //David
>
http://w3-4u.blogspot.com >
http://blogs.msdn.com/David.Wang > //
>
>
>
>
>
> On Aug 16, 12:02 am, "Stanko Milosev" <tester...@yahoo.com> wrote:
>> We want to make web site with PHP, that if a user have a certificate,
>> then,
>> for example, to give this user welcome screen, but if he don't have a
>> certificate then to give him login screen.
>>
>> I have found that with _SERVER["CERT_SERIALNUMBER"] variable I can get
>> client certificate serial number, but only if IIS server accepted user
>> certificate...
>>
>> "Consultant" <consultant_mc...@yahoo.com> wrote in message
>>
>> news:unhfGL33HHA.5360@TK2MSFTNGP03.phx.gbl...
>>
>>
>>
>> > why would you want to do this?
>>
>> > "Stanko Milosev" <tester...@yahoo.com> wrote in message
>> >news:OvRH0003HHA.3684@TK2MSFTNGP02.phx.gbl...
>> >> Hello,
>>
>> >> I am trying to configure IIS to accept any certificate, from anyone,
>> >> is
>> >> that possible?
>>
>> >> TIA!
>> >> Stanko.- Hide quoted text -
>>
>> - Show quoted text -
>
>