摘要:
查PEM格式证 openssl x509 -in ${NAME_FILE} -text -noout 查DER格式证书 openssl x509 -in ${NAME_FILE} -inform der -text -noout DER格式转PEM openssl x509 -inform DER 阅读全文
摘要:
Tips:Java jre /lib/security/cacert的默认密码为changeit 查看keystore中的内容 keytool -list -v -keystore ${file} PKCS#12格式转jks格式 keytool -importkeystore -srckeystor 阅读全文
摘要:
示例代码 点击查看代码 public static SSLContext getSslContext(){ try { String keystorePath = Paths.get("stores","keystore.p12").toString(); String truststorePath 阅读全文