From 2ed082f67f79a5a7ddad2876a0d6088bfe85ef0e Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 5 Dec 2023 00:46:57 -0600 Subject: [PATCH] add safe removal tls_store --- static/opensearch_certs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/opensearch_certs.sh b/static/opensearch_certs.sh index af2d3da..c733064 100644 --- a/static/opensearch_certs.sh +++ b/static/opensearch_certs.sh @@ -4,7 +4,8 @@ # Source: # https://opensearch.org/docs/latest/security-plugin/configuration/generate-certificates/#sample-script -mkdir tls_store +rm -rf tls_store +mkdir -p tls_store TLS_DN="/C=CA/ST=OPENSEARCH/L=NODE/O=OPENSEARCH/OU=FTS" # Root CA