[root@dhcp ~]# ll a
-rw------- 1 root root 16 Feb 20
10:50 a
[root@dhcp ~]#
[root@dhcp ~]# openssl genrsa -out my.key -des3 -passout file:a
1024
Generating RSA private key, 1024 bit long
modulus
.........++++++
.......................................++++++
e
is 65537 (0x10001)
[root@dhcp ~]# cat my.key
-----BEGIN
RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info:
DES-EDE3-CBC,438C832FD0D9F713
7XYS9INhwlEJ4VWrjiLLvK6n57LCJbkAwwLxUTCeW9aFqGhPyQAEff7UTgJ5Zks8
JypKDJoqOSKa10SI2Qf/XmT//OKWOQC12oAaWDBpGvv7QwJG2rohCVp61UdQ26EX
4J2DTdZ4bm7uO5Vj7w/sC4cLnHCoJkskwitG1AwiAbNQt8YGGeNtH7vd9cS+T/Qi
syKOL8UoYW1wb5JHUQmLXs5Pf5YTxAAbN9gD7VzBKWAW4w+ZvRArVXbDKMboCB+4
VbHxJMuEwkA9zIPVoNBYyA199V4JY6H1FYf1wKtRdKr00vQQvoQqTAbrZVnIGm4J
zTjoN2CPyZ/GfZ4SjwKBY/D273Yk+q/8UPLetozlu7ZjYYHWDj/UTn1zdKsYmszl
PQsiQP1X2dox+DtTMBjVd2/6a6GMHJS2nIV3IezvGIJWwraoaoAIcPYotzXp0XIs
SIPejH2xR/eQ1zn34Ns7oC6j5ZkcOK1eLnDvsvmFLg2/oS6rwZOgolrRwRMV4T55
dGEvd9HX3TcY4ogHEuD9F1qvZ//oRBzINsMLduzMv3Gg5Pf+BsDkcCvtX6mTatM5
AbCPt9fSRnVFj8aODMVahmirNYvtPuTOyNnN3O3iCM+7qv1htopAk94aobHFSHLC
MVip9ctz77w5/0meThOZA+obWk3N5TT2wIzJBOsLRj0mKKPEYmH5TZBQsaQdZHO7
TTP4nAKuvoLb3I5iVGqep5p/fEO87PZdT0tlOe6mM3nfcMdwsknhp7cI36f0U7oc
5ZBcdqPXzizNEpVdc75U8rdJBDqAMvkr9njBhaIqomgXxfG0ddBtdw==
-----END
RSA PRIVATE KEY-----
[root@dhcp ~]#
阅读(1381) | 评论(0) | 转发(1) |