h.hasenack
Posts: 17
Joined: Wed Aug 26, 2015 1:28 pm

YubiKey FIPS code signing support

Using a SafeNet dongle I can sign my installers from within a Virtual machine (Or even remote desktop), when the Safenet USB key is in inserted in the host machine (or remote desktop client machine)

Does anyone have experience to do the same with a YubiKey FIPS 140-3 key? (Key in Host or RDP client, Advanced installer running on a VM or different computer)

(My code signing certificate on my SafeNetUSB dongle is expiring, hence I am looking for alternatives)

TIA - Hans
----------------------------
Kind regards,

Hans Hasenack
S&G Asset Management
Netherlands
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: YubiKey FIPS code signing support

Hello Hans,
Does anyone have experience to do the same with a YubiKey FIPS 140-3 key? (Key in Host or RDP client, Advanced installer running on a VM or different computer)
I think this is a question better suited for the support team over at YubiKey.

From what I've read, this seems to be possible, although it is some work to be done. Here are some articles that I've found:

Use YubiKey remotely over RDP

getting code signing certificate on own Yubikey and then using it to sign windows binaries in unattended way, on KVM VM

But again, I think the best approach here would be to contact YubiKey support team, explain to them what the scenario is and they should be able to assist you best regarding this. :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichSmith98
Posts: 1
Joined: Thu Aug 20, 2026 2:00 pm

Re: YubiKey FIPS code signing support

Yeah, it works fine—YubiKey uses standard Windows smart card redirection for RDP, so as long as you have the YubiKey Smart Card Minidriver or ykcs11.dll installed on the VM, Advanced Installer will see the cert just like your SafeNet dongle did. The main thing to watch out for is PIN/Touch policies when setting up the key, so your build script doesn't hang waiting for manual input.
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: YubiKey FIPS code signing support

Hello Michael and welcome to our forums,

Thank you for your contribution to our forums.

I'm relieved to hear this is working as expected. :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”