All Im having some questions that I hope someone can direct me on
I have 5 nodes - named 1-5
On node 1 - I run certgen which allows me to add all the "instances" Im assuming this means all the other nodes in the cluster. Running certgen gives me a .crt and a .key
Now I understand these need to be "signed"
So on node 1 - I run certgen -csr which allows me to add all the "instances" Im assuming this means the other nodes. This gives me a .csr and a .key. Im assuming this is the "signed" key (by the .csr) and would replace the first key created by certgen.
so my directories look like this
nn775 /usr/share/elasticsearch/bin/config/x-pack # ls -ltR
.:
total 24
drwxr-xr-x 2 root root 4096 Mar 22 10:18 sn776
drwxr-xr-x 2 root root 4096 Mar 22 10:18 dn779
drwxr-xr-x 2 root root 4096 Mar 22 10:18 dn778
drwxr-xr-x 2 root root 4096 Mar 22 10:18 dn777
drwxr-xr-x 2 root root 4096 Mar 22 10:18 nn775
drwxr-xr-x 2 root root 4096 Mar 21 16:15 ca
./sn776:
total 12
-rw-r--r-- 1 root root 940 Mar 22 10:12 sn776.csr
-rw-r--r-- 1 root root 1675 Mar 22 10:12 sn776.key
-rw-r--r-- 1 root root 1289 Mar 21 16:13 sn776.crt
./dn779:
total 12
-rw-r--r-- 1 root root 940 Mar 22 10:12 dn779.csr
-rw-r--r-- 1 root root 1675 Mar 22 10:12 dn779.key
-rw-r--r-- 1 root root 1289 Mar 21 16:13 dn779.crt
....
Note the .crt were from yesterday when I ran certgen and not part of teh signing process.
in my elasticsearch.yml
xpack.ssl.key: /usr/share/elasticsearch/bin/config/x-pack/sn776/sn776.key
xpack.ssl.certificate: /usr/share/elasticsearch/bin/config/x-pack/sn776/sn776.crt
xpack.ssl.certificate_authorities: [ "/usr/share/elasticsearch/bin/config/x-pack/ca/ca.crt" ]
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.enabled: true
I copy the directories to the hosts and on startup get "Invalid signature on ECDH server key exchange message"
Im thinking that error is saying I have something wrong in my key creation
Here i have started node 1 - then node 2 generates the errors on node 1's logfile
log is here
https://sites.google.com/site/developtroubleshooting/home/logs
I think I have a fair grasp on the process - just need to get it right - any suggestions would be greatly appreciated so I can get this to work