Skip to content

curl-wolfssl quic-X25519MLKEM768 connection fails to nginx-aws-lc X25519MLKEM768:x25519-only server #10670

@Zoey2936

Description

@Zoey2936

Version

v5.9.1-stable

Description

When I built curl with this Dockerfile: https://github.com/ZoeyVid/curl-quic/blob/2942619f2af48c5bb54d2de37e0f5d53a42c20b8/Dockerfile

and try to connect to nginx linked against aws-lc with ssl_ecdh_curve X25519MLKEM768:x25519; configured, I get this:

[zoey@pc ~]$ ./curl-x86_64 https://zvcdn.de -vI4 --http3-only
* Host zvcdn.de:443 was resolved.
* IPv6: (none)
* IPv4: 89.58.43.161
* HTTPS-RR: -
*   Trying 89.58.43.161:443...
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* QUIC connect to 89.58.43.161 port 443 failed: Could not connect to server
* Failed to connect to zvcdn.de port 443 after 690 ms: Could not connect to server
* closing connection #0
curl: (7) Failed to connect to zvcdn.de port 443 after 690 ms: Could not connect to server

The same command works if:

  • I use archlinux system curl command
  • I append --curves X25519 to the command
  • I enable secp521r1:secp384r1:prime256v1 in nginx

But then it will use http3 without X25519MLKEM768 in all three cases

If I use http2/http1.x it works without any changes but then it also wont use X25519MLKEM768

Not sure if this is an aws-lc or wolfssl issue or if I'm the issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions