Skip to content

Instantly share code, notes, and snippets.

@Simonx123
Forked from Callonski/kibana_certificates.sh
Created September 7, 2020 01:06
Show Gist options
  • Save Simonx123/a637bc8f1931be0c258b69b95bdba5c8 to your computer and use it in GitHub Desktop.
Save Simonx123/a637bc8f1931be0c258b69b95bdba5c8 to your computer and use it in GitHub Desktop.
############### CERTIFICATES FOR KIBANA ##############
gsutil cp "${ca_bucket}http.p12" /etc/kibana
gsutil cp "${ca_bucket}elasticsearch-ca.pem" /etc/kibana
chmod 777 /etc/kibana/http.p12
chmod 777 /etc/kibana/elasticsearch-ca.pem
chmod 777 /etc/ssl/certs/elasticsearch-ca.pem
cp /etc/kibana/elasticsearch-ca.pem /etc/ssl/certs
touch /var/log/kibana.log
sudo chmod 777 /var/log/kibana.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment