Skip to content

Commit 08ccccf

Browse files
authored
Use cacerts on verify peer (#739)
1 parent 14a8a58 commit 08ccccf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/postgrex/protocol.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ defmodule Postgrex.Protocol do
166166
verify: :verify_peer,
167167
customize_hostname_check: [
168168
match_fun: :public_key.pkix_verify_hostname_match_fun(:https)
169-
]
169+
],
170+
cacerts: :public_key.cacerts_get()
170171
]
171172
end
172173

0 commit comments

Comments
 (0)