S7-1500 PLCs require secure communication for online access, e.g. when loading.
To configure connection security, the setup-secure-communication and import-certificate commands are used.
Details of these commands can be found in the Hardware Compiler and Security documentation.