randomsync / robotframework-mqttlibrary

MQTT Keyword Library for Robot Framework
Apache License 2.0
25 stars 30 forks source link

Client Certificates #7

Closed ThePersistentTester closed 5 years ago

ThePersistentTester commented 5 years ago

Hi there,

Not sure if this is the right platform to ask this.

Is it possible to download a new set of client certificates and test if the user could actually use these certificates to connect?

randomsync commented 5 years ago

You can use the publish single keyword to connect and publish a message with certs. It uses the paho library's publish.single method: https://www.eclipse.org/paho/clients/python/docs/#single