它正在为HTTPS使用一个.jks文件。SSL证书已经过期,我正在尝试从Godaddy收到的文件中创建一个ne .jks文件。有一份文件说明了如何去做,但是缺少了一些东西。These are the steps in document to create .jks file:
C:\trash\keyproc>openssl reqC:\trash\keyproc>keytool -importkeystore -deststorepass pwd_here -destke
我希望使用p7b证书在spring引导java应用程序中启用https。server.ssl.key-store=cert.p7b但是不支持PKCS7,这就是为什么我试图将它转换成一个java密钥存储文件(JKS: Input not an X.509 certificate
然后,我尝试将其转换为pem文件,这是可行的。openssl pkcs7 -inform der -print_certs -in cert.p7b -out cert.pem</