Thanks @kylethebaker, that makes sense now that you say it. My erlang isn’t great and I find the docs a little hard to understand. I’ve made the following change as you suggest but still getting the same error, is this what you mean?:
[
recv_timeout: 30_000,
ssl: [
cert: cert(public),
key: {:RSAPrivateKey, cert(private, "a-password")}
]
]
I’m not sure I’m doing the right thing in the cert
functions for decoding the certificates, I saw this online somewhere (can’t remember where) as a step that was required.
Thanks again for your help!
Andy