http://test.mosquitto.org/ seems to imply that port 1883 is still unencrypted, and doesn't need a certificate.
The not authorized is probably because you've got:
not authorized
username: "username", password: "password",
What happens if you just remove those?
But even for the encrypted comms, you can still use TLS with Espruino WiFi and/or the Pico.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
http://test.mosquitto.org/ seems to imply that port 1883 is still unencrypted, and doesn't need a certificate.
The
not authorized
is probably because you've got:What happens if you just remove those?
But even for the encrypted comms, you can still use TLS with Espruino WiFi and/or the Pico.