有没有办法将导出密码直接传递给命令?
为了自动执行SSL证书部署的过程,我需要信息是否可以直接在命令中提供导出密码,而无需输入输入?
它使用的命令:
openssl pkcs12 -export -in domain.crt -inkey domain.key -certfile root.crt -out domain.p12
keytool -importkeystore -srckeystore domain.p12 -srcstoretype PKCS12 -destkeystore domain.jks
它仅在输入输入中输入密码后才工作,但我必须直接在命令中输入密码。
谢谢,问候。
To automate the process of SSL certificate deployment, I need information whether the export password and then the security password can be provided directly in the command without the need to enter it in input?
The commands it uses:
openssl pkcs12 -export -in domain.crt -inkey domain.key -certfile root.crt -out domain.p12
keytool -importkeystore -srckeystore domain.p12 -srcstoretype PKCS12 -destkeystore domain.jks
It's working only after i've enter password in input but i must enter password directly in command.
Thanks and greetings.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论