Closed alinpopa closed 5 months ago
how is configured the server?
It's a Phoenix server, and https is configured like this:
https: [
port: 7002,
otp_app: :zeroapp,
verify: :verify_peer,
fail_if_no_peer_cert: true,
versions: [:"tlsv1.2"],
keyfile: "priv/server/server-key.pem",
certfile: "priv/server/server-cert.pem",
cacertfile: "priv/ca.pem"
],
@benoitc thank you for your input, but I think I found the cause of this: the certificates I was using were very very old, and they're using a different signing algorithm than those being supported. I've regenerated the certs and now they seem to be working fine. I'm gonna close this as it's a non-issue related to Hackney.
OTP 26.2.5 Elixir 1.16.3-otp-26 Hackney: 1.20.1
Getting the following error when making a tls request to the server:
The ssl conf for the client (using HTTPoison):
This was working fine on OTP 25, but it fails on OTP 26. Also, both server and the client are running on OTP 26.
Thanks.