Skip to content

systemd-resolved: use hostname for certificate validation in DoT - #15012

Merged
yuwata merged 1 commit into
systemd:masterfrom
Mic92:dot
Mar 6, 2020
Merged

yuwata merged 1 commit into
systemd:masterfrom
Mic92:dot

Conversation

@Mic92

@Mic92 Mic92 commented Mar 4, 2020

Copy link
Copy Markdown
Contributor

Widely accepted certificates for IP addresses are expensive and only
affordable for larger organizations. Therefore if the user provides
the hostname in the DNS= option, we should use it instead of the IP
address.

@Mic92

Mic92 commented Mar 4, 2020 •

Copy link
Copy Markdown
Contributor Author

I used this for testing a valid domain:

DNS=95.216.112.61#dns.thalheim.io

and this for testing an invalid domain:

DNS=95.216.112.61#invalid-dns.thalheim.io

with both gnutls and openssl.

Comment thread src/resolve/resolved-dnstls-gnutls.c Resolved
Comment thread src/resolve/resolved-dnstls-openssl.c Resolved
@yuwata yuwata added resolve reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks labels Mar 4, 2020
Widely accepted certificates for IP addresses are expensive and only
affordable for larger organizations. Therefore if the user provides
the hostname in the DNS= option, we should use it instead of the IP
address.
@yuwata yuwata removed the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Mar 4, 2020
@yuwata

yuwata commented Mar 4, 2020

Copy link
Copy Markdown
Member

LGTM.

@yuwata
yuwata merged commit eec394f into systemd:master Mar 6, 2020
@Mic92
Mic92 deleted the dot branch March 6, 2020 16:55
@Mic92

Mic92 commented Mar 6, 2020

Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants