Login to Windows Domain Computers With MS Active Directory

(Nitrokey HSM 2 - Windows)
  1. Download and install the latest OpenSC.
  2. Use a text editor to add the following settings to C:Program Files:OpenSC ProjectOpenSCopensc.conf.
# Nitrokey Pro, OpenPGP Card
card_atr 3B:DA:18:FF:81:B1:FE:75:1F:03:00:31:C5:73:C0:01:40:00:90:00:0C {
    type = 9002;
    driver = "openpgp";
    # name = "Nitrokey Pro";
    md_read_only = false;
    md_supports_X509_enrollment = true;

# Nitrokey HSM, SmartCard-HSM
card_atr 3B:FE:18:00:00:81:31:FE:45:80:31:81:54:48:53:4D:31:73:80:21:40:81:07:FA {
    type = 26000;
    driver = "sc-hsm";
    # name = "Nitrokey HSM";
    md_read_only = false;
    md_supports_X509_enrollment = true;
  1. Open a command terminal and enter “regedit”. Use regedit to import this file.
  2. Now you can enroll Nitrokeys for your users managed in Microsoft Active Directory. You may either use Microsoft PKI, gpgsm, or Smart Policy. The following steps describe the usage of Smart Policy.
  3. Download and install Smart Policy.
  4. Select “Read a smart card”
  1. Select the certificate, mapping, and user.
  1. Verify the device status via CRL.
  1. Choose a Group Policy Object (GPO).
  1. Confirm applying the mapping.

From now on, when logging on to your Windows computer you need to connect the Nitrokey and enter your PIN.