Skip to content

Single certificate in tls_client_trusted_certs #9

@ziopio

Description

@ziopio

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions