diff --git a/.gitignore b/.gitignore index 928e16e..07cdbb9 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ internal/jwtxt/cmd/example/* internal/credentials/cmd/example/* *.dot +*.pem \ No newline at end of file diff --git a/internal/credentials/cmd/example/main.go b/internal/credentials/cmd/example/main.go index ba4bc53..9206e9f 100644 --- a/internal/credentials/cmd/example/main.go +++ b/internal/credentials/cmd/example/main.go @@ -48,7 +48,7 @@ func main() { panic(err) } - caCert, err := os.ReadFile("ca.crt") + caCert, err := os.ReadFile(cli.CA) if err != nil { panic(err) }