Hi there!
I'm trying to connect to my AWS IoT but always getting disconnect after trying to connect
//AWS_Client1: TsgcIoTAmazon_MQTT_Client; // Using component from pallete
AWS_Client1.Amazon.Endpoint := 'a2v182i8gsqb1o-ats.iot.eu-west-1.amazonaws.com';
AWS_Client1.Amazon.ClientId := 'sgcWebSockets';
AWS_Client1.Amazon.Port:= 8883;
AWS_Client1.Certificate.CertFile:='C:\7db46775ee-certificate.pem.crt';
AWS_Client1.Certificate.KeyFile := 'C:\7db46775ee-private.pem.key';
AWS_Client1.Active := True;
This is my code... Sure all certificates are valid.
Any ideas??
Ramon
I'm trying to connect to my AWS IoT but always getting disconnect after trying to connect
//AWS_Client1: TsgcIoTAmazon_MQTT_Client; // Using component from pallete
AWS_Client1.Amazon.Endpoint := 'a2v182i8gsqb1o-ats.iot.eu-west-1.amazonaws.com';
AWS_Client1.Amazon.ClientId := 'sgcWebSockets';
AWS_Client1.Amazon.Port:= 8883;
AWS_Client1.Certificate.CertFile:='C:\7db46775ee-certificate.pem.crt';
AWS_Client1.Certificate.KeyFile := 'C:\7db46775ee-private.pem.key';
AWS_Client1.Active := True;
This is my code... Sure all certificates are valid.
Any ideas??
Ramon