I am trying to implement SSL security to the communication between FileBeat and Logstash. I have all the certificates and keys(server as well as CA) except for the format of the server key. I have that in PKCS12 and JKS format.
I tried creating the PKCS8 format from the PKCS12 format. But the authority of the certificate was unknown then. I had used the following set of Openssl commands -
openssl pkcs12 -in 'node-1-keystore.p12' -out certificatename.pem openssl pkcs8 -in certificatename.pem -topk8 -nocrypt -out 'node-1.key.pk8'
Please help me out with this?