PLB_SSL_VERSION Keyword
10.7
PLB_SSLVERSION={ver}
This keyword specifies the OpenSSL DLL 32-bit library version to be loaded for PL/B instructions that use a SSL connection. This includes the HTTP, MAILSEND, and FTP ( Connect method ).
Note:
The {ver} is a string that specifies the OpenSSL DLL library version to be loaded. The {ver} string is limited to fifteen (15) characters. The PL/B Windows runtime uses the {ver} string to create an OpenSSL DLL library name as follows:
a.By default the PL/B Windows runtime can load the OpenSSL libraries named 'libssl-1_1.dll' and 'libcrypto-1_1.dll'. See the 'Sunbelt PL/B Runtime Reference' manual under the PLB_LOADLIBSSL_FIRST for more details.
b. When the 'PLB_SSL_VERSION={ver}' keyword is specified, PL/B Windows runtime uses the {ver} characters to create the OpenSSL DLL library names as follows:
libssl-{ver}.dll
libcrypto-{ver}.dll
Warning:
Make sure that the {ver} character are specified exactly as found in the OpenSSL DLL file names to be loaded.
Example:
To load/use an OpenSSL DLL version 3 library:
Add the PLB_SSL_VERSION keyword to the 'plbwin.ini' configuration file under the [Environment] section as follows:
PLB_SSL_VERSION=3
In this case, the PL/B Windows runtime will create the OpenSSL DLL library names as follows:
libssl-3.dll
libcrypto-3.dll
Make sure that only 32-bit OpenSSL DLL binary files are being loaded and used because the PL/B Windows runtimes are only 32-bit applications.
See Also: PLBWIN Keywords, PLBCE Keywords, PLBLinux Environment Variables, Compiler and Runtime Options
![]() |