-
Notifications
You must be signed in to change notification settings - Fork 166
Feature request: Specify additional x509 dNSnames and iPAddresses for automatic PKI #223
Comments
I think maybe the documentation isn't very clear. If you are requesting for a certificate for If not, do you mean to request these dns and ipaddresses as I have considered this when I built the integration but I'm not sure how this relates to goldfish's usage. There's only one domain name that needs to be protected via certificate. |
Usecase is primarily the complexity of all the various access patterns available in my deployment of of goldfish in Kubernetes. Issued certificates currently look like: Subject:
X509v3 Subject Alternative Name:
This is due to the glorious number of different ways of accessing pods/services in Kubernetes, and I'd like to keep things flexible as far as valid hostnames are concerned :) |
I see. Basically |
@ewdurbin can you confirm the mappings above? |
yep, sorry for mixing Vault, x509, and rando terms :-D
|
Here's a sample call to Vault API expressing it explicitly. If you follow the call stack up you can see what kind of stuff comes in. |
This has been implemented in the master branch. You can see a sample of the config file here https://github.com/Caiyeon/goldfish/blob/master/config/sample.hcl#L23 I will be writing a new wiki page with sample configs for the new release. (No idea how long away it is still) |
Proposed configuration:
Then add them to the fetch call.
goldfish/server/server.go
Lines 186 to 189 in c0af29c
Obviously the vault PKI role will need to be configured to allow these but it would be super helpful :)
The text was updated successfully, but these errors were encountered: