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

cert: additional ip addresses in SANs #5601

Closed
tristan-weil opened this issue Apr 3, 2019 · 0 comments · Fixed by #5602
Closed

cert: additional ip addresses in SANs #5601

tristan-weil opened this issue Apr 3, 2019 · 0 comments · Fixed by #5602
Labels
theme/tls Using TLS (Transport Layer Security) or mTLS (mutual TLS) to secure communication type/enhancement Proposed improvement or new feature

Comments

@tristan-weil
Copy link
Contributor

Feature Description

The command consul tls cert create -additional-dnsname=<value> allows generating certs with additional names (+ localhost and 127.0.0.1) in the Subject Alternative Names, which is really useful and easy to use.

I would like to have a similar feature to add IP addresses in the SANs.

Use Case(s)

My personal use-case: I'm testing Consul and Vault on the same machine with multiple daemons bound on local addresses (127.0.1.1, 127.0.2.1, 127.0.3.1, 127.0.4.1, etc.). And it works really well but the addresses need to be declared in /etc/hosts with corresponding hostnames. I have, of course, errors if I request directly the daemons on their IP with curl or other external tools.

More real use-cases:

  • no access to the DNS servers for the requesting hosts
  • different vlans and external tools using IP addresses (like monitoring)
@pearkes pearkes added type/enhancement Proposed improvement or new feature theme/tls Using TLS (Transport Layer Security) or mTLS (mutual TLS) to secure communication labels Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/tls Using TLS (Transport Layer Security) or mTLS (mutual TLS) to secure communication type/enhancement Proposed improvement or new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants