keytool -genkeypair -alias afc -keyalg RSA -validity 36500 -keystore afc.jks -storepass grgbanking -keypass grgbanking -dname CN=afc,OU=grg,O=grgbanking,L=gz,ST=gd,C=cn -ext bc:c keytool -genkeypair -alias afcsrv -keyalg RSA -validity 36500 -keystore afcsrv.jks -storepass grgbanking -keypass grgbanking -dname CN=afcsrv,OU=grg,O=grgbanking,L=gz,ST=gd,C=cn keytool -certreq -alias afcsrv -file afcsrv_auth_by_afc.csr -keystore afcsrv.jks -storepass grgbanking keytool -gencert -alias afc -infile ../server/afcsrv_auth_by_afc.csr -outfile ../server/afcsrv_auth_by_afc.cer -keystore afc.jks -storepass grgbanking keytool -importcert -alias afcsrv -file afcsrv_auth_by_afc.cer -keystore afcsrv.jks -storepass grgbanking keytool -genkeypair -alias afccli -keyalg RSA -validity 36500 -keystore afccli.jks -storepass grgbanking -keypass grgbanking -dname CN=afccli,OU=grg,O=grgbanking,L=gz,ST=gd,C=cn keytool -certreq -alias afccli -file afccli_auth_by_afc.csr -keystore afccli.jks -storepass grgbanking keytool -gencert -alias afc -infile ../client/afccli_auth_by_afc.csr -outfile ../client/afccli_auth_by_afc.cer -keystore afc.jks -storepass grgbanking keytool -importcert -alias afccli -file afccli_auth_by_afc.cer -keystore afccli.jks -storepass grgbanking keytool -exportcert -alias afc -file afc.cer -keystore afc.jks -storepass grgbanking keytool -importcert -alias afc -file ../afc/afc.cer -keystore afcsrv.jks -storepass grgbanking keytool -importcert -alias afc -file ../afc/afc.cer -keystore afccli.jks -storepass grgbanking
时间: 2024-10-11 03:54:33