Skip to content

Instantly share code, notes, and snippets.

View axamon's full-sized avatar
:octocat:
thinking

Alberto axamon

:octocat:
thinking
  • Rome - Italy
View GitHub Profile
@axamon
axamon / self-signed-certificate-with-custom-ca.md
Created September 19, 2019 13:42 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@axamon
axamon / es.sh
Last active August 29, 2015 14:05
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
# OLD WAY / HARD WAY
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.2.tar.gz
tar -xf elasticsearch-1.3.2.tar.gz