Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/07/2011, 10:21
riestra
 
Fecha de Ingreso: febrero-2009
Mensajes: 77
Antigüedad: 15 años, 3 meses
Puntos: 0
Leer certificado digital del navegador en server SSL

Hola, tengo un hosting con SSL en godaddy. Estoy intentando leer el certificado digital del usuario si es que tiene alguno instalado en su navegador mediante Request.ClientCertificate.IsPresent , pero me devuelve siempre false.

Código:
  Dim username As String
        username = User.Identity.Name
        greetingLabel.Text = "Welcome " & username
        Dim cert As HttpClientCertificate = Request.ClientCertificate
        If cert.IsPresent Then
            'Get the Organization (O) field from the Subject section.
            certDataLabel.Text = cert.Get("Subject O")
        Else
            certDataLabel.Text = "No certificate was found."
        End If
Mi duda es, si tengo SSL instalado y configurado, ya que puedo acceder a mi host mediante https, ¿tengo que configurar alguna cosa más?
¿Hay algo que no estoy haciendo para poder utilizar Request.ClientCertificate.IsPresent?

Gracias, un saludo.