Skip to content

Commit

Permalink
fix server test
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Nov 14, 2024
1 parent 7d15ad2 commit f9870c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ziti/cmd/pki/pki_create_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ func TestServerCertNoSpiffeIdFromIntermediateAddSpiffeId(t *testing.T) {
fmt.Sprintf("--ca-name=%s", intCaNameWithoutSpiffeIdName),
fmt.Sprintf("--server-name=%s", name),
fmt.Sprintf("--server-file=%s", name),
fmt.Sprintf("--dns=%s", "localhost,dns.entry"),
fmt.Sprintf("--ip=%s", "127.0.0.1,::1"),
}

sid := "spiffe://not-from-ca/the-path"
Expand All @@ -107,6 +109,8 @@ func TestServerCertSpiffeIdFromIntermediateAddSpiffeId(t *testing.T) {
fmt.Sprintf("--ca-name=%s", intCaNameWithSpiffeIdName),
fmt.Sprintf("--server-name=%s", name),
fmt.Sprintf("--server-file=%s", name),
fmt.Sprintf("--dns=%s", "localhost,dns.entry"),
fmt.Sprintf("--ip=%s", "127.0.0.1,::1"),
}

sid := "spiffe://from-ca/the-path"
Expand Down

0 comments on commit f9870c7

Please sign in to comment.