Skip to content

Commit

Permalink
Update lib/public_key/src/public_key.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Oct 22, 2024
1 parent 7677361 commit 2e9e442
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/public_key/src/public_key.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2243,11 +2243,14 @@ Loads the OS supplied trusted CA certificates.
This can be overridden by setting the `cacerts_path`
environment key of the `public_key` application with
the location of an alternative OS supplied certificate.
the location of an alternative certificate.
You can set it via the command line as:
erl -public_key cacerts_path '"/path/to/certs.pem"'
Use it with care. It is your responsibility to ensure
that the certificates found in this alternative path
can be trusted by the running system.
""".

-spec cacerts_load() -> ok | {error, Reason::term()}.
Expand Down

0 comments on commit 2e9e442

Please sign in to comment.