Created
March 6, 2016 02:56
-
-
Save ramann/69f8b0d0a153d1467ea1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=========== ~/openssl_pkcs11_engine.conf ========== | |
openssl_conf = openssl_def | |
[ openssl_def ] | |
engines = engine_section | |
[ engine_section ] | |
pkcs11 = pkcs11_section | |
[ pkcs11_section ] | |
engine_id = pkcs11 | |
dynamic_path = /usr/lib/engines/engine_pkcs11.so | |
MODULE_PATH = /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so | |
=================================================== | |
➜ ~ OPENSSL_CONF=openssl_pkcs11_engine.conf openssl s_client -connect host:port -CAfile ca.crt -cert client.crt -engine pkcs11 -keyform engine -key slot_1-id_01 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment