On 5/25/2011 4:30 AM, HOURY William wrote:
> Hi all,
>
> I’m experiencing a strange issue when trying to perform a smartcard logon for 
> the 1st time (just after the card perso) on a XP SP3 with OpenSC 12.1 and an 
> Athena ASEPCOS Smartcard logon card.
>
> Scenario:
> - The card is personalized on another PC
> - The XP SP3 PC is started and is at the Gina level, OpenSC 12.1 is well 
> installed and the minidriver well configured
> - When trying to logon with the just personalized card, I always get a 
> "signature not valid" error in the event log
> - If I reboot the PC, I can perform my smartcard logon without any issue, and 
> it will never fail again.

Is this a login to AD, or just to the XP machine locally?

I suspect that it has something to do with the cert store, the first time
a card is used on a particular machine.

It may have to do with the CA certificates. Did you add the CA cert
to the machine before hand?

You say it is the first login after the card was "personalized". If you
use a working card on a machine that has never seen that card,
does it work? i.e. is this a card first time issue or an issue using
a working card on a new system?

You say you have to reboot. If you don't I assume it does not work
until you do.

If you get a failure, but before rebooting, can you login using a password
and look at the certstore using certutil or Control Panel->Internet 
Options->Content->Certificates
and see if the cert for the card is listed under personal?
If not, then reboot, login with password and look again?

If you were to use the certutil or Control Panel->Internet 
Options->Content->Certificates
and delete the certificate out of the Personal list (certutil calls this"My")
can you login? What if you do the same, then reboot?

Is this only an XP problem? Do you have Vista or W7 to try this on?

>
> I put attached 2 logs: one (opensc-debug-XPSP3-logonKO.log) when the 
> smartcard logon is failing just after the card perso; and another one 
> (opensc-debug-XPSP3-logonOK.log) when the smartcard logon works well just 
> after the reboot of the PC.
>
> I can provide more info if needed.
>
> Thanks for your help,
>
> William
> ________________________________
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
> exclusif de ses destinataires. Il peut également être protégé par le secret 
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne 
> pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne 
> pourra être recherchée quant au contenu de ce message. Bien que les meilleurs 
> efforts soient faits pour maintenir cette transmission exempte de tout virus, 
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely 
> for the addressee; it may also be privileged. If you receive this e-mail in 
> error, please notify the sender immediately and destroy it. As its integrity 
> cannot be secured on the Internet, the Atos Origin group liability cannot be 
> triggered for the message content. Although the sender endeavours to maintain 
> a computer virus-free network, the sender does not warrant that this 
> transmission is virus-free and will not be liable for any damages resulting 
> from any virus transmitted.
>
>
>
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to