工具:拎包即用工具箱

Posted by Xiaolei.liang on March 16, 2022 本文总阅读量
  • rsa产生公钥私钥对:https://blog.csdn.net/li396864285/article/details/79865806
    生成私钥:openssl genrsa -out rsaprivatekey.pem 1024
    生成公钥:openssl rsa -in rsaprivatekey.pem -out rsapublickey.pem -pubout
    转换格式:openssl pkcs8 -topk8 -in rsaprivatekey.pem -out pkcs8rsaprivate_key.pem -nocrypt