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

Single certificate in tls_client_trusted_certs #9

Open
ziopio opened this issue Sep 20, 2024 · 0 comments
Open

Single certificate in tls_client_trusted_certs #9

ziopio opened this issue Sep 20, 2024 · 0 comments
Assignees

Comments

@ziopio
Copy link
Member

ziopio commented Sep 20, 2024

Documentation states that tls_client_trusted_certs can be set to {priv, app_name, "relative/single.pem"} although code looks like is always treating the third element as a directory.

I did not test this but from the code it looks like "relative/single.pem" will be joined with Domain in any case.

catch throw:_Reason -> []

load_cert will always concat .pem or .crt and the failure is catched and silenced, which IMO would be bad is the user specified an explicit cert

But again I did not test it so cannot be sure.

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

2 participants