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