Unable to verify server SSL certificate

As for ssl open vs mqtt open, I originally tried with mqtt open, but since it was failing I wanted to get something simpler (plain tcp+ssl socket) to see if that works - and after it works move back to mqtt. I.e. narrow down the problem.

I think that I’ve tried \n and \r endlines, but not \r\n yet, will check that asap.

i also find it very difficult to form from a certificate that i get by *:pem file to something that i can pass by bytestream to a uart… i try it manual to copy al \n\r via copy and paste…

Yeah, that was it - thanks! Once I converted to \r\n, it started to work as expected.

1 Like