Web Server Management: Securing Access to Web Servers | ||
---|---|---|
Prev | Chapter 3. Creating keys and certificates | Next |
As with the key file, the CSR file itself is not very interesting but we can use the req sub-command to see what is actually inside it.
$ openssl req -in WWW.csr -noout -text Certificate Request: Data: Version: 0 (0x0) Subject: C=GB, ST=England, L=Cambridge, O=University of Cambridge, OU=Computing Service, CN=clt1.csi.cam.ac.uk/emailAddress= jw35@cam.ac.uk Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (2048 bit) Modulus (2048 bit): 00:a8:0a:7f:25:9c:1d:b0:e9:0c:c8:24:6d:d6:fd: 00:01:9d:73:d1:c2:38:73:ec:16:de:78:19:d1:69: c1:1c:98:65:e1:87:aa:db:1f:47:97:9f:65:21:4b: 02:a3:cb:ea:76:6b:ad:b7:2e:b8:c9:5e:a0:d9:14: cb:7d:32:88:6b:ed:7e:05:3e:f3:bb:ee:23:83:a1: bb:e7:4d:bc:04:44:bb:36:b6:79:34:31:25:ec:84: 49:1f:29:0b:00:d8:1e:c2:6a:e5:5a:f2:87:e1:40: e3:7f:1f:8c:5f:5e:ca:78:a1:60:71:77:99:82:a1: b1:6b:09:27:56:7b:fb:24:f5:80:f2:89:fa:c1:a6: 27:a6:b2:f1:e2:06:7b:e5:34:db:f9:cd:8b:01:be: ed:f1:70:02:ac:04:36:b0:bf:8d:e0:0e:9f:5a:a3: ac:bf:b6:56:d0:8c:0d:17:78:2d:1d:bc:89:68:67: 32:82:b8:26:77:a0:49:56:f1:ca:71:eb:2b:a4:7f: 8e:d3:b8:1d:62:d4:f1:cb:40:c6:94:eb:21:e4:3a: fe:7b:2c:7a:27:d8:ae:db:f5:d4:c4:b7:9b:a0:61: 56:aa:5a:fa:80:cb:0c:9a:66:41:ce:73:3f:c3:0e: 90:98:71:4f:49:2b:21:c2:28:5c:be:b2:25:40:0f: bc:eb Exponent: 65537 (0x10001) Attributes: a0:00 Signature Algorithm: sha1WithRSAEncryption 31:e7:c6:9e:4b:93:10:d7:60:6e:43:14:8d:34:74:0c:69:74: e9:61:4d:65:e5:ad:67:bf:a2:63:3b:d6:f5:ee:1b:e0:75:01: 91:ea:e8:84:8b:65:48:80:d7:aa:8c:0a:c1:18:5f:9e:3c:e8: 0f:35:70:9d:41:7d:b3:31:11:59:a4:81:74:cd:12:b3:7d:81: 4a:2d:06:a2:51:b8:e2:86:4a:a9:39:dc:a3:59:a0:3a:67:b2: 70:40:a4:5b:3d:4b:de:bc:df:a8:37:e9:5f:7e:07:0f:90:84: 43:df:23:f5:ea:80:c3:2b:98:cd:11:78:7d:1b:88:e5:a0:95: d6:ca:9e:dd:37:17:17:73:b3:f4:b2:dd:84:71:c7:0f:e4:12: ee:b2:6d:7a:9d:9d:68:89:64:57:d3:f1:a5:2d:16:bc:1d:63: 7b:a7:13:49:b1:fb:14:26:d6:fe:17:30:df:be:4d:5b:67:57: d4:76:e2:44:4e:96:7e:53:84:7a:af:24:1c:9e:45:b4:11:02: 08:36:b3:d8:3c:06:3b:ed:b7:0d:ab:aa:04:02:c3:7e:15:8d: 98:bc:47:34:14:09:ff:76:20:7d:75:0c:93:24:93:94:7c:1c: 0e:90:8c:f4:7f:bf:74:20:30:6c:ff:ed:dc:83:96:28:77:92: ac:d2:d9:c4
Arguments used
-in
the name of the file containing the key
-noout
do not output the key itself
-text
display the contents of the key file as text