系统环境为docker
1、从elasticsearch下载证书:docker cp elastic:/usr/share/elasticsearch/config/certs/http_ca.crt d:\xxx
2、打开cmd控制台
3、进入jdk证书目录C:\Program Files\Java\jdk-18.0.2.1\lib\security
4、执行:C:\Program Files\Java\jdk-18.0.2.1\binkeytool -keystore cacerts -importcert -alias "es_http_ca" -file xxxxxx/http_ca.crt