Created
September 8, 2022 14:41
-
-
Save vanga/57c7a523c1c1ec63749b326d9557feed to your computer and use it in GitHub Desktop.
Create self signed certificates using Elasticsearch util scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.4.1-linux-x86_64.tar.gz | |
tar -zxf elasticsearch-8.4.1-linux-x86_64.tar.gz | |
cd elasticsearch-8.4.1/ | |
./bin/elasticsearch-certutil ca --pem | |
unzip elastic-stack-ca.zip | |
./bin/elasticsearch-certutil cert --ca-cert ca/ca.crt --ca-key ca/ca.key --pem --name elk.example.com | |
unzip certificate-bundle.zip | |
cd ../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment