Tia-Portal-CLI

TIA Portal certificates, syslog and password policy by command

The security objects a hardened project carries: the certificate store, drive security, the syslog configuration and the password policy.

5 of the 351 verbs · TIA Portal V19, V20 and V21

tia list-certificates [--plc N]
read-only: certificates of the CPU's local store
tia new-certificate [--plc N] [--usage U] [--cn NAME] [--san TYPE:VALUE ...] [--valid-from DATE] [--valid-until DATE] [--signature Sha256RSA|Sha1RSA] [--apply]
self-signed certificate in the CPU's local store, built from the template the store gives for the usage
tia set-drive-security --device D [--item I] [--drive-object N] --umac on|off | --dde on|off [--password-env VAR] [--apply]
UMAC or drive data encryption of a 3rd-generation SINAMICS drive, S200 or G220
tia list-syslog [--plc N]
read-only, two sources at once: the syslog servers global to the PROJECT (SyslogServerProvider) and the system logging config of the CPU (S7-1500 firmware V3.1 or higher)
tia password-policy [--kind plus|legacy|umac] [--set NAME=VALUE ...] [--apply]
without --set: reads the three project policies

Common questions

How do I list TIA Portal certificates by command?

tia list-certificates prints the store and tia new-certificate creates one.

Can I read the password policy of a TIA Portal project?

tia password-policy prints it, tia list-syslog the syslog configuration and tia set-drive-security writes drive security.

Run these verbs on your own project

Every verb above takes JSON on the way out and plain flags on the way in. Tia-Portal-CLI is local and on-premise: nothing is sent to a cloud service, and every write is a preview until you pass --apply. 14-day free trial, e-mail only, no card.

Start a 14-day free trial

Other verb families