Frequently Asked Component Specific Questions


Display all FAQ items

Search FAQ items:

Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

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;