I want to connect to an Elasticsearch server with Nodejs. As a prerequisite I have received a .p12 certificate and a password but I do not know how to new a client object with this credentials. In the node.js official documentation .pem files are used and there is no password. How can I achieve this with nodejs Elasticsearch library?
Asked
Active
Viewed 171 times
1 Answers
0
I found to options:
- converting a .p12 to a .pem file see the details
- reading a .p12 file with password see the details
Ehsan Shekari
- 706
- 1
- 7
- 17