Copying a certificate from a smart card to computer

五迷三道 提交于 2021-01-28 00:26:51

问题


Is it possible to copy a certificate from a smart card to the computer and use it to login to a certain site.

On mac, those certificates appear in Keychain and they can be saved to disk, but I'm not sure how to force a site to prompt a dialog screen to choose the certificate. When the smart card is connected, the prompt somehow appears and asks to choose a certificate.


回答1:


The smartcard contains a key pair composed by a private key and a public key wrapped into a X509 certificate.

It is possible to export the certificate and copy to your laptop but to identify, sign or decrypt it is necessary to use the private key. The private key is usually generated on the smartcard and is not extractable. This is part of the security that the card provides: All operations are performed inside the card



来源:https://stackoverflow.com/questions/48064019/copying-a-certificate-from-a-smart-card-to-computer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!