You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we do things with path to files, we're able to connect.
However, when we try to do tha same thing with strings that represent the base64 version of the DER-encoded files for cacerts, key, and path, we get an error:
The SSL transport is using the Erlang :ssl module in the background, so try converting the options given as binaries to charlists by using to_charlist/1; does that solve the problem?
Yes, we tried that (converting every options, only the key, etc...), but we got an error at the ligne doing the to_charlist (I don't have the code available right now, so I can not give you the error any more, sorry.)
Is it possible that a key contain data that can not be converted to a charlist ?
We're trying to connect to a broker with SSL.
We're basically doing:
When we do things with path to files, we're able to connect.
However, when we try to do tha same thing with strings that represent the base64 version of the DER-encoded files for cacerts, key, and path, we get an error:
Then the connection fails, and the Tortoise.Connection server crash with this error:
What could this error mean ? Is it possible that we need to convert the binary to something else ?
The text was updated successfully, but these errors were encountered: