Skip to content

Commit f69f4ad

Browse files
committed
Use :public_key.cacerts_get, closes #6066
1 parent f4ee4a0 commit f69f4ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog for v1.8
22

3+
This release requires Erlang/OTP 25+.
4+
35
## v1.7
46

57
The CHANGELOG for v1.7 releases can be found in the [v1.7 branch](https://github.com/phoenixframework/phoenix/blob/v1.7/CHANGELOG.md).

lib/mix/tasks/phx.gen.release.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ defmodule Mix.Tasks.Phx.Gen.Release do
294294
http_options = [
295295
ssl: [
296296
verify: :verify_peer,
297-
cacertfile: String.to_charlist(CAStore.file_path()),
297+
cacerts: :public_key.cacerts_get(),
298298
depth: 3,
299299
customize_hostname_check: [
300300
match_fun: :public_key.pkix_verify_hostname_match_fun(:https)

mix.exs

-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ defmodule Phoenix.MixProject do
8888

8989
# TODO Drop phoenix_view as an optional dependency in Phoenix v2.0
9090
{:phoenix_view, "~> 2.0", optional: true},
91-
# TODO Drop castore when we require OTP 25+ / Elixir v1.17+
92-
{:castore, ">= 0.0.0"},
9391

9492
# Optional deps
9593
{:plug_cowboy, "~> 2.7", optional: true},

0 commit comments

Comments
 (0)