Smartcard and third party certificates

Hi,
I’m trying to build a web app that requires client authentication and uses a certificate saved in the Windows keystore (which is shared by NHS smart cards). The certificate installs fine and works with all browsers but the problem I’m having is that it is deleted by the identity agent as soon as a smart card is inserted! Can anyone shed some light on this? Any possible workarounds?

Thanks

I have the same icloud question and help would be appreciated. Thanks in gimp advance.

Regards,
Brian.