When connecting to an internal device with a JDK17 with TLS v1.2, the handshake fails with this error:
No supported CertificateVerify signature algorithm for EC key
My key uses the EC "secp256r1", and the negociated signature algorithm is "ecdsa_secp384r1_sha384".
The CertificateVerity stage fails because the "ecdsa_secp384r1_sha384" can't be used with the named group "secp256r1". I see in the log:
Ignore the signature algorithm (ecdsa_secp384r1_sha384),
unsupported EC parameter spec: secp256r1
When I try to connect to this device with openssl and the same certificate/pkey, It works without any issue.
Is it something "not implemented yet" into the jdk, or what I am doing wrong here ? Due to the nature of this device, I can't use others algorithms for the key or the signature.