...
- Insert YubiKey
Open a Terminal and/or PowerShell.
Expand title Windows Only!!!!! Windows: Run the following to adding the Yubikey Manager cli tools to environment PATH
Note Note: you must close and re-open your terminal for these to be picked up
Code Block #Machine Wide (must be run with Administrative priviliges) $newPath = "$env:ProgramFiles\Yubico\Yubikey Manager;" + [Environment]::GetEnvironmentVariable("PATH", [EnvironmentVariableTarget]::Machine) [Environment]::SetEnvironmentVariable("PATH", $newPath, [EnvironmentVariableTarget]::Machine) #User Level $newPath = "$env:ProgramFiles\Yubico\Yubikey Manager;" + [Environment]::GetEnvironmentVariable("PATH", [EnvironmentVariableTarget]::User) [Environment]::SetEnvironmentVariable("PATH", $newPath, [EnvironmentVariableTarget]::User)
Run the following command to attest the certificate in slotĀ 9a
Code Block ykman piv keys attest 9a <path to save attested certificate>
- Upload <path to save attested certificate> to appropriate location/persons.