-
Notifications
You must be signed in to change notification settings - Fork 32
Fortify not able to build certificate chain in YubiKey #577
Comments
Thanks to today's meeting, I was able to reproduce the behavior and identify the problem. Fortify returns all certificates that the token provides through the PKCS#11 interface. The difference is that your Fortify is actually using the OpenSC PKCS#11 module instead of the Yubico PKCS#11 module. When listing certificates via
However, when listing certificates via
In my example, I used a Yubico token with the following certificate chain:
During the meeting, we installed Yubico PIV Tools, but Fortify was not restarted, so it continued to use OpenSC. If Fortify cannot load the module specified in the configuration, it tries to use OpenSC. Please restart Fortify and try to retrieve the list of all token objects using this example or build the certificate chain using this example. |
Hi @microshine , I tried restarting Fortify after installing I also tested our application. It can also build the full chain. This is good news. Thanks. Note: I haven't verified it on Windows yet. I'll tried to find some time to test it. However, my question is, is it possible to Fortify App to include all these dependencies at the installation time? |
We are able to generate the certificate chain when certificates are loaded into hidden slots of the Yubikey using fortify example: https://peculiarventures.github.io/fortify-examples/example6.html Pre-requisites:
Entire certificate chain is generated with Fortify Example with above steps. |
Issue description:
I have a full certificate chain (root + intermediate + client) in the YubiKey.
(Note: The 20 slots from slot 82 to slot 95 (hexdecimal value) are hidden slots, which are not configurable through YubiKey Manager UI, but they are configurable through command line)
When I tried to build a full certificate chain using Fortify, it does not give me full chain. It only returns the client cert stored in slot 9a.
I think the problem is Fortify does not try to look at the hidden slots on YubiKey. Can you fix this please?
The text was updated successfully, but these errors were encountered: