Template:TLS&DTLS encryption & certificate generation

From Teltonika Telematics Wiki
Revision as of 12:37, 14 July 2022 by MindaugasK (talk | contribs)

Requirements to perform the encryption and generation of the certificate:

  • Server with implemented TLS/DTLS functionality
  • OPENSSL (or any other) software to generate certificate key
  • Firmware FMB.Ver.03.27.xx

OpenSSL software download & installation process

Download OpenSSL from https://wiki.openssl.org/index.php/Binaries

Figure 1: website link to OpenSSL software download

Once the Wiki page is open, click on the highlighted link in Figure 1 - https://slproweb.com/products/Win32OpenSSL.html. A new page will open with the multiple downloadable files.

Download the latest available OpenSSL software (light version) with .exe or .msi extensions, in this case the latest one is currently "Win64 OpenSSL v3.0.5 Light". Click on EXE and the file download will start

Figure 2: OpenSSL download links

Once the file is downloaded, open it and the installation process will start.

Upon installation, it is advisable to install the software into the default location, however this can be chosen to the user's preference.

The installation path has to be remembered as it will be required in the later stages.

Figure 3: install location

Use of /bin directory is advisable for intallation process, because "Windows system directory" can become tricky and overloaded.

Figure 4: use of /bin directory as preference.

Once installation process is complete, it is required to set up a path to the system preferences so that OpenSSL install location could be identified.

Press Windows key and type "This PC", a folder with computer visible drives will open. Once there, right-mouse click on the empty space will bring options window, where the user is required to click on "Properties".

Figure 5: This PC window with options pop up.

Once clicked, a new window with system information will open, in there select "Advanced System Settings".

Figure 6: System Information window.

After selecting "Advanced System Settings", a new window will open called "System Properties". In there the user is required to select "Environmental Variables"

Figure 7: System Properties window.

A new environmental variables window will open, in here all system paths will be described. Press "New" under System Variables.

Figure 8: Environmental Variables window.

New window will open, under name, enter "Path" and under location enter the same location chosen from Figure 3 during installation process and add \bin at the end. In this case, it is C:\Program Files\OpenSSL-Win64\bin. Once all information is entered, press OK.

Figure 9: Creating new path variable.

A new path will be created in the System Variables window. Once this is done, press OK once again on the Environment Variables window.

Figure 10: New path variable added.

TLS Key Generation process