shamblett / mqtt_client

A server and browser based MQTT client for dart
Other
552 stars 179 forks source link

AWS IoT Certificate - Use .bks file certificate #537

Closed pratamarama closed 5 months ago

pratamarama commented 5 months ago

Hello, I have implemented mqtt client in native android and I want to implement mqtt client on flutter. But, in android i used .bks file for the keystore/certificate, while in the example of this package we used .pem, .cert and .key for the certificate.

is there another way to import the certificate for the connections with .bks file?

shamblett commented 5 months ago

The client relies on the Security Context class from dart:io to configure secure socket working, reference for this is here as such you can only configure whatever this class allows. It doesn't seem to support .bks files hence the client doesn't support this.