Create a certificate:
"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\makecert.exe" -sky exchange -r -n "CN=ESCert" -pe -a sha1 -len 2048 -ss My "ESCert.cer"
Upload the .cer
to the settings management section in the Azure portal.
Using certmgr.msc
, export the certificate in .pfx
format (it will be in the Personal section). Give it a password with reasonable complexity.
Then in the ES config:
cloud:
azure:
keystore: c:/elasticsearch-0.90.10/ESCert.pfx
password: Pass123!
subscription_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
service_name: elastictom
discovery:
type: azure