Skip to content

Commit

Permalink
fix: validation for RDS
Browse files Browse the repository at this point in the history
  • Loading branch information
ali1ariel committed Nov 30, 2024
1 parent fa9110d commit c2b24f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if config_env() == :prod do
verify: :verify_peer,
cacertfile: "/etc/ssl/certs/rds-ca-global.pem",
server_name_indication: String.to_charlist(URI.parse(database_url).host || ""),
verify_fun: {&:ssl.verify_peer/3, nil}
versions: [:"tlsv1.2", :"tlsv1.3"]
]

# The secret key base is used to sign/encrypt cookies and other secrets.
Expand Down

0 comments on commit c2b24f1

Please sign in to comment.