Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TMS MQTT
Using broker over TLS
Using broker over TLS
When using a broker over TLS, it is needed to setup the internal SSLIOHandler with needed settings for TLS. This can be done with:
(TMSMQTTClient1.Connection.SSLIOHandler as TIdSSLIOHandlerSocketOpenSSL).SSLOptions.CertFile := ''cert.pem''; (TMSMQTTClient1.Connection.SSLIOHandler as TIdSSLIOHandlerSocketOpenSSL).SSLOptions.Method := sslvTLSv1_2; (TMSMQTTClient1.Connection.SSLIOHandler as TIdSSLIOHandlerSocketOpenSSL).SSLOptions.Mode:= sslmUnassigned;