From 2b2598c6957324fae2de104e098ac7f9bf08bccd Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 24 Oct 2018 12:50:42 -0700 Subject: [PATCH] Fix audience to fix ca tests. --- ca/tls_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ca/tls_test.go b/ca/tls_test.go index 5acadf2c..901374b5 100644 --- a/ca/tls_test.go +++ b/ca/tls_test.go @@ -45,7 +45,7 @@ func generateOTT(subject string) string { Issuer: "mariano", NotBefore: jwt.NewNumericDate(now), Expiry: jwt.NewNumericDate(now.Add(time.Minute)), - Audience: []string{"https://ca/sign"}, + Audience: []string{"step-certificate-authority"}, } raw, err := jwt.Signed(sig).Claims(cl).CompactSerialize() if err != nil {