diff --git a/cmd/local-user-authenticator/main_test.go b/cmd/local-user-authenticator/main_test.go index 0bc49255..837b3c2a 100644 --- a/cmd/local-user-authenticator/main_test.go +++ b/cmd/local-user-authenticator/main_test.go @@ -395,7 +395,7 @@ func newCertProvider(t *testing.T) (provider.DynamicTLSServingCertProvider, []by serverName := "local-user-authenticator" cert, err := ca.Issue( pkix.Name{CommonName: serverName}, - []string{}, + []string{serverName}, time.Hour*24, ) require.NoError(t, err)