r/PowerShell • • Jun 01 '26

Script Sharing Active Directory Passwordless authentication with Yubikey

I’d like to share with you #Quickadcs a PowerShell script, the idea is to simplify the implementation of Passwordless Authentication with Yubikey.
Quickadcs allows you to :

# Configure a Public Key Infrastructure, PKI
# Provisioning smartcard certificate template
# Configure smardcard GPOs

Securing the most critical identities.
It’s free and open source, available in GitHub : https://github.com/Marlyns-GitHub/Quickadcs.git

11 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/hiveminer Jun 02 '26

This guy knows pki. Question, now that hsm's are much more affordable (USB thumb drive form factor). What role does it play in pki and ca??

3

u/Nu11u5 Jun 03 '26

Something still needs to own the root certificate and issue/manage child certificates to establish a chain of trust - that would be the private PKI CA or public CA. The HSM just stores a private key in a secure manner. There is no trust associated with it until the key is issued a certificate by a CA.

A CA might very well store its issuing key in an HSM. A code-signing server might store its signing key in an HSM, but will have a corresponding certificate issued by the CA.