Make CSR work with jank domain

This commit is contained in:
Paul Banks 2018-05-04 22:31:06 +01:00 committed by Mitchell Hashimoto
parent 257d31e319
commit 954d286d73
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ func (c *ConnectCALeaf) Fetch(opts cache.FetchOptions, req cache.Request) (cache
// needs a correct host ID, and we probably don't want to use TestCSR
// and want a non-test-specific way to create a CSR.
csr, pk := connect.TestCSR(&testing.RuntimeT{}, &connect.SpiffeIDService{
Host: "1234.consul",
Host: "11111111-2222-3333-4444-555555555555.consul",
Namespace: "default",
Datacenter: reqReal.Datacenter,
Service: reqReal.Service,