I am trying to implement tls with ex_aws. As I am in development, I have a minio tenant, which provides a self-signed certificate. As such, this is rejected with the error : Unknown CA. So I wrote a function to override it like so in the runtime.exs:
config :ex_aws, :s3,
scheme: “https://”,
host: “minio.tenant”,
port: 443,
ssl: true,
ssl_opts: [verify: :verify_peer, cacertfile: CAStore.file_path(), verify_fun: {&verify_fun_selfsigned_cert/3, [“minio”]}, versions: [:“tlsv1.3”]].
But this does not work as the configuration is obviously not read, probably because ex_aws does not support ssl/tls or its configuration? Can someone tell me if that is the case and how to work around it?
I am trying to implement tls with ex_aws. As I am in development, I have a minio tenant, which provides a self-signed certificate. As such, this is rejected with the error : Unknown CA. So I wrote a function to override it like so in the runtime.exs: config :ex_aws, :s3, scheme: “https://”, host: “minio.tenant”, port: 443, ssl: true, ssl_opts: [verify: :verify_peer, cacertfile: CAStore.file_path(), verify_fun: {&verify_fun_selfsigned_cert/3, [“minio”]}, versions: [:“tlsv1.3”]]. But this does not work as the configuration is obviously not read, probably because ex_aws does not support ssl/tls or its configuration? Can someone tell me if that is the case and how to work around it?