First, a public/private key pair has to be created and subsequently installed in the F-Secure Elements Security Center and the scan node.
The keys are used to establish an encrypted communication channel between the F-Secure Elements Security Center and the scan node in question.
Note: The steps given here are for creating the encryption keys on Windows computers. However, the same openssl commands for generating the keys should also work on Linux systems.
-
- Download the OpenSSL toolkit for Windows at http://gnuwin32.sourceforge.net/packages/openssl.htm.
- Extract the zip file.
- From the Windows command prompt, navigate to the bin directory inside the OpenSSL folder.
For example: cd x:\openssl-{version}\bin
-
- Generate a public/private key pair by running the following commands:
Generate the private key:
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:4096
For older versions of OpenSSL, use the following command:
openssl genrsa -out private_key.pem 4096
Extract the public key:
openssl rsa -pubout -in private_key.pem -out public_key.pem