linux配置证书访问https
2024-03-10 本文已影响0人
o_O小薯条
1.上传证书到信任库
keytool -importcert -file /app/data/portal/ssl/alarm.keystaribot.cn.crt -alias alarmupload -keystore /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-0.el7_9.x86_64/jre/lib/security/cacerts -storepass changeit