From e9ec4fcdde39d0eee7d91f3dfa35988960af8abc Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 5 Dec 2023 02:41:50 -0600 Subject: [PATCH] add workaround for root-ca.srl on focal --- static/opensearch_certs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/opensearch_certs.sh b/static/opensearch_certs.sh index c733064..0326690 100644 --- a/static/opensearch_certs.sh +++ b/static/opensearch_certs.sh @@ -38,5 +38,9 @@ rm admin-key-temp.pem \ # Store mv client.pem \ client-key.pem \ - root-ca.srl \ root-ca-key.pem -t tls_store + +# openssl 3.0 workaround +if [ "$(lsb_release -sc)" = "focal" ]; then + mv root-ca.srl tls_store +fi