From 8bf3d191e19e52f5460d5257c0704914d0ce94b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihkel=20P=C3=A4rna?= Date: Tue, 6 Feb 2024 14:16:17 +0200 Subject: [PATCH] Define 'redis_server.insecure-skip-verify' flag in 'rekor-server' to allow skipping TLS verification --- cmd/rekor-server/app/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/rekor-server/app/root.go b/cmd/rekor-server/app/root.go index 23a0c70db..677500cd3 100644 --- a/cmd/rekor-server/app/root.go +++ b/cmd/rekor-server/app/root.go @@ -115,6 +115,7 @@ Memory and file-based signers should only be used for testing.`) rootCmd.PersistentFlags().String("redis_server.address", "127.0.0.1", "Redis server address") rootCmd.PersistentFlags().Uint16("redis_server.port", 6379, "Redis server port") rootCmd.PersistentFlags().String("redis_server.password", "", "Redis server password") + rootCmd.PersistentFlags().Bool("redis_server.insecure-skip-verify", false, "Whether to skip TLS verification or not") rootCmd.PersistentFlags().Bool("enable_attestation_storage", false, "enables rich attestation storage") rootCmd.PersistentFlags().String("attestation_storage_bucket", "", "url for attestation storage bucket")