Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for ipv4/ipv6 subjects #56

Closed
kpcyrd opened this issue Dec 11, 2018 · 3 comments
Closed

Missing support for ipv4/ipv6 subjects #56

kpcyrd opened this issue Dec 11, 2018 · 3 comments

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Dec 11, 2018

I've tried to send a request to https://1.1.1.1. This fails with an error:

StringError("invalid dnsname")

The error seems to be coming from hyper-rustls, the https-connector I use:
https://github.com/ctz/hyper-rustls/blob/276c10aa7373d3c8da7d39d22b82f7a4600f6bd2/src/connector.rs#L81

@lucab
Copy link
Contributor

lucab commented Dec 11, 2018

Indeed, only DNSName are supported (thus, no ipv4/ipv6 subject matching).

This is a rustls limitation which in turn comes from webpki:

@cpu
Copy link
Member

cpu commented Mar 31, 2023

This will be resolved by #199

@cpu
Copy link
Member

cpu commented Apr 4, 2023

hyper-rustls 0.24.0 was released with this support.

@cpu cpu closed this as completed Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants