openssl fails to produce a pfx with a valid alias

前端 未结 1 1988
太阳男子
太阳男子 2021-02-07 08:59

I am trying to generate a pfx file to use as a signing mechanism for some JAR files as per these instructions.

To create the pfx file I am using the following command

相关标签:
1条回答
  • 2021-02-07 09:18

    Try using option -name "alias" with command openssl pkcs12.

    So, the full command may look like (the rest of options were taken from your question):

    openssl pkcs12 -export -in my-cert.crt -inkey my-priv-key.key -certfile my-ca-bundle -out my-pfx.pfx -name "alias"
    
    0 讨论(0)
提交回复
热议问题