OpenSSL and Libp11 Installation

  1. Download and install OpenSSL, refer https://slproweb.com/products/Win32OpenSSL.html for windows build. Here OpenSSL is installed in C:\OpenSSL-Win64

  2. Download libp11 from https://github.com/OpenSC/libp11/releases

  3. Download and Install Visual Studio, refer https://visualstudio.microsoft.com/vs/older- downloads/

  4. Open the Native x64 VS Command Prompt and go to the directory where libp11 is extracted

  5. Run the following command to build and install libp11 with openssl

›_ Console

nmake /f Makefile.mak OPENSSL_DIR=c:\OpenSSL-Win64 BUILD_FOR=WIN64
tmpxz202ozs.jpg

Figure 39: Output of nmake command

tmp733hy79f.jpg

Figure 40: Output of nmake command (continued)

  1. Verify pkcs11.dll is available inside <libp11>/src/ folder