📜  生成 jks 证书 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:06.553000             🧑  作者: Mango

代码示例1
Rem Java Installation required
keytool -genkey -keyalg RSA -alias "localhost" -keystore "jenkins.jks" -validity 365 -keysize 2048 -dname "CN=localhost, OU=OU_name, O=OU_name, L=city, ST=State_name, C=two_letter_country_code" -ext SAN=dns:localhost,ip:192.168.56.1 -storepass changeit