--- title: "How do I build NanoSSL for Windows?" source_url: https://dev.digicert.com/trustcore-sdk/nanossl/faqs/how-do-i-build-nanossl-for-windows.html --- **Question:** How do I build NanoSSL for Windows? **Answer:** TrustCore SDK provides sample batch scripts to build the NanoSSL Client, NanoSSL Server, and the corresponding libraries. These batch (.bat) scripts use CMake projects and Visual Studio to build the binaries and libraries with specific features. If a particular feature needs to be enabled or disabled, modify the extensions as required and include the associated flags. ## Windows prerequisites Before building NanoSSL on Windows, ensure that the following prerequisites are met: - CMake - Visual Studio 2017 ## Windows environment setup Source the appropriate Visual Studio developer prompt by calling one of the following scripts: - call “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\ Auxiliary\Build\vcvars32.bat” - call “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\ Auxiliary\Build\vcvars64.bat” ## SSL example scripts The following SSL example script is located in `scripts/nanossl/ssl_example`: `build_ssl_client_server_cap_win.bat` The `ssl_client` and/or `ssl_server` target can be specified to build the NanoSSL examples. The `--help` option can be specified to view the list of arguments the script takes in.