I am setting up a rest client that must be trusted by a remote server using client certificate. Client written in python, running on windows 10. How can I use YubiKey 5 to store private key to encrypt SSL connection?
It seems like there is no off-the-shelf solution / python package that supports using pkcs11 for ssl context. We were able to use https://github.com/square/ghostunnel with yubikeys with client certificates, but it makes solution less secure and more complicated to deploy.