安装openssl

参考文章:安装openssl环境

windows命令行调用openssl

  1. 管理员身份启动命令行
    命令行调用openssl生成相关秘钥、证书
  2. 切换到要生成秘钥、证书文件的路径
    命令行调用openssl生成相关秘钥、证书
  3. 使用openssl命令生成秘钥、证书
    命令:
    openssl req -newkey rsa:2048 -nodes -keyout rsa_private.pem -x509 -days 3650 -out cert.der
    命令行调用openssl生成相关秘钥、证书
    命令行调用openssl生成相关秘钥、证书

总结

我生成的证书和秘钥,是为了opcua使用的,生成过程还是比较简单的,特此记录一下。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2021-11-29
相关资源
相似解决方案