Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure SSL/TLS Options #1011

Open
PaulRusuTibreanu opened this issue Nov 1, 2023 · 0 comments
Open

Configure SSL/TLS Options #1011

PaulRusuTibreanu opened this issue Nov 1, 2023 · 0 comments

Comments

@PaulRusuTibreanu
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant