I have problem with mod_ssl exactly with SSLCryptoDevice directive. When I run command "openssl engine" returns all available engines including pkcs11 (libengine-pkcs11-openssl), but When I set SSLCryptoDevice pkcs11 in mod_ssl configuration and I try to start Apache, returns error "SSLCryptoDevice: Invalid argument; must be one of:" but now engine pkcs11 isn't listed. In openssl works well.
Some system info: Debian 8 x64, OpenSSL 1.0.1k, Apache 2.4.10
Apache start error: http://pastebin.com/b4GLaSHL
OpenSSL engines: http://pastebin.com/kXNYG2Yw