Hi everyone,
I want to use Yubikey 5 as an authentication key with OpenVPN Connect on Mac.
I followed this guide: https://openvpn.net/vpn-server-resource ... n-connect/
I manually generated the key and certificate and imported it into slot 9a of Yubikey.
Then copy the lib file to the module folder as instructed.
But OpenVPN doesn't recognize the Yubikey key when I plug it into my computer.
I use:
Mac Monterey 12.6
OpenVPN Client Connect 3.3.6
yubico-piv-tool-2.3.0
Can anyone who has successfully configured it re-share it for me?
Thanks & Regards,
OpenVPN Connect: hardware token (Yubikey) not detected
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Sep 14, 2022 3:28 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Jan 28, 2022 8:24 am
Re: OpenVPN Connect: hardware token (Yubikey) not detected
The official guide only works when you disable SPI. To make it work just create a symlink:
ln -s /usr/local/lib/libykcs11.dylib ~/.pkcs11_modules/libykcs11.dylib
ln -s /usr/local/lib/libykcs11.dylib ~/.pkcs11_modules/libykcs11.dylib
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Sep 14, 2022 3:28 pm
Re: OpenVPN Connect: hardware token (Yubikey) not detected
I have tried following the instructions, including the above, but no successdaysleeper83 wrote: ↑Wed Oct 12, 2022 4:59 pmThe official guide only works when you disable SPI. To make it work just create a symlink:
ln -s /usr/local/lib/libykcs11.dylib ~/.pkcs11_modules/libykcs11.dylib