ssl:handshake/3 fails with cert_and_key_required and {handshake, hello}
specified
#9177
Labels
bug
Issue is reported as a bug
{handshake, hello}
specified
#9177
Describe the bug
With 7a07239
ssh:handshake/3
requires cert and key to be present.It must not require cert and key if
{handshake, hello}
is set because the actual cert and key to be used might be set later inssl:handshake_continue/3
based on information returned byssh:handshake/3
(e.g. the SNI hostname).To Reproduce
Expected behavior
Affected versions
OTP-27.2
OTP-27.1.3
OTP-27.1.2
OTP-27.1.1
OTP-27.1
OTP-27.0.1
OTP-27.0
OTP-27.0-rc3
OTP-27.0-rc2
OTP-27.0-rc1
Additional context
Workaround (bogus
cert
andkey
):The text was updated successfully, but these errors were encountered: