We often use smart card solutions in Estonia due to the support of national identifiers in many places. I think you are a little confused - you don't need exec (). You need to configure a web server (in this case, IIS) to request a client for a certificate. This has nothing to do with PHP. This can be done based on a path, subdomain, or the like, and it can be optional or required. For example, we often set up a subdomain a la http: //id.foobar . - . " " Google .
. , - . - . .
PHP . . , Googling SSL_CLIENT_S_DN. , - Apache. IIS , , .
source
share