Graylog-datanode 6.3 certificate for REST calls

1. Describe your incident:
i Have graylog-server 6.3 running with 2 data nodes . i generated certificates via graylog web interface and the setup is working fine .
Question - how can i use the generated certificates to curl datanodes on port 9200 to extract watermark details and to update them .
i want to run the below command - where are the client cert and key files stored?
curl “https://localhost:9200/_cluster/health?pretty” -k –cert client-cert.crt --key client-cert.key

Hey @awan_m
When you generate the client certificates in the web interface, they will be offered to you for copy-paste in that page. They are not stored anywhere. You have to store them somewhere where you can later reference them in the curl command, exactly as you mention.

Thanks - that worked

1 Like