[root@dhcp ~]# openssl req -new -subj
\
> -key my.key -passin file:a -out my.csr
[root@dhcp ~]# ll
my.csr
-rw-r--r-- 1 root root 684 Feb 20 17:22
my.csr
[root@dhcp ~]#
[root@dhcp ~]# openssl req -text
-noout -in my.csr
Certificate Request:
Data:
Version: 0 (0x0)
Subject: C=CN, ST=GD, L=GZ, O=NAP, OU=Maintenance,
Subject Public Key Info:
Public Key Algorithm:
rsaEncryption
RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:d2:17:ad:e0:28:95:78:2c:23:b3:8b:bd:1e:00:
16:0d:8e:bd:ea:ea:63:91:f0:3a:96:12:28:99:f0:
9e:90:1d:be:39:b4:fa:1d:a2:c5:7e:06:57:41:4a:
23:79:37:69:17:5e:7d:af:0f:3b:63:c0:03:d9:1a:
f7:96:49:c9:59:86:8d:92:21:e2:01:0d:8b:60:9f:
45:fc:f7:5d:41:48:24:63:5b:10:43:4f:81:3d:3a:
42:1c:f1:67:48:6e:e1:2f:af:90:1f:85:8f:c2:e3:
f1:2e:73:fb:8f:64:21:f8:ac:2c:9e:29:ec:bb:8c:
9e:6f:d4:e5:31:64:f4:4b:ed
Exponent: 65537
(0x10001)
Attributes:
a0:00
Signature
Algorithm: md5WithRSAEncryption
3a:11:a5:0b:9a:39:6c:6c:ad:13:a6:c8:bf:10:a2:a5:99:4e:
eb:ff:c6:c6:09:f0:09:38:2f:d0:d9:f8:ee:09:c7:db:a3:db:
19:f9:53:32:ff:a3:ad:e6:6e:97:fb:d8:02:f8:29:38:f9:dd:
ab:ef:94:e6:d3:c0:ed:68:af:e5:6a:72:99:ab:60:48:1b:de:
3b:ed:30:95:b1:e9:d0:23:d0:46:b4:d2:f6:3f:28:bb:8c:5a:
e6:fa:a1:d4:60:cc:d2:86:57:74:55:b6:33:f4:3a:93:41:71:
dc:80:d7:b2:b1:6d:1b:f1:48:e2:94:ff:e3:fb:cc:6a:b0:81:
3f:17
[root@dhcp ~]#
阅读(1993) | 评论(0) | 转发(1) |