Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- flewkey@basilisk /tmp/ssl $ ls
- keys.txt NWC.crt NWC.key WII_NWC_1_CERT.p12
- flewkey@basilisk /tmp/ssl $ openssl genrsa -out server.key 1024
- Generating RSA private key, 1024 bit long modulus (2 primes)
- ..........+++++
- ......+++++
- e is 65537 (0x010001)
- flewkey@basilisk /tmp/ssl $ openssl req -new -key server.key -out server.csr
- You are about to be asked to enter information that will be incorporated
- into your certificate request.
- What you are about to enter is what is called a Distinguished Name or a DN.
- There are quite a few fields but you can leave some blank
- For some fields there will be a default value,
- If you enter '.', the field will be left blank.
- -----
- Country Name (2 letter code) [AU]:
- State or Province Name (full name) [Some-State]:
- Locality Name (eg, city) []:
- Organization Name (eg, company) [Internet Widgits Pty Ltd]:
- Organizational Unit Name (eg, section) []:
- Common Name (e.g. server FQDN or YOUR name) []:*.*.*
- Email Address []:
- Please enter the following 'extra' attributes
- to be sent with your certificate request
- A challenge password []:
- An optional company name []:
- flewkey@basilisk /tmp/ssl $ openssl x509 -req -in server.csr -CA NWC.crt -CAkey NWC.key -CAcreateserial -out server.crt -days 3650 -sha1
- Signature ok
- subject=C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = *.*.*
- Getting CA Private Key
- Enter pass phrase for NWC.key:
- 139912541861696:error:28078065:UI routines:UI_set_result_ex:result too small:crypto/ui/ui_lib.c:905:You must type in 4 to 1023 characters
- Enter pass phrase for NWC.key:
- flewkey@basilisk /tmp/ssl $ openssl x509 -in server.crt -noout -text
- Certificate:
- Data:
- Version: 1 (0x0)
- Serial Number:
- 7c:cd:c2:3d:e3:44:16:af:ef:1b:5b:9f:40:94:76:d3:ea:45:3d:c8
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C = US, ST = Washington, L = Redmond, O = Nintendo of America Inc., CN = Wii NWC Prod 1, emailAddress = ca@noa.nintendo.com
- Validity
- Not Before: Jan 28 20:14:24 2021 GMT
- Not After : Jan 26 20:14:24 2031 GMT
- Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = *.*.*
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- RSA Public-Key: (1024 bit)
- Modulus:
- 00:b8:57:3c:52:f2:9b:6e:52:bf:c5:7a:f5:59:8f:
- 45:17:ae:9c:7c:2a:35:66:e5:2f:7d:57:07:67:f6:
- 99:c8:4d:8c:ce:f7:b7:99:03:07:49:20:85:6b:ce:
- 21:2e:c4:c7:2f:03:22:41:44:2c:9b:1f:59:2f:1a:
- 8f:5a:82:73:05:cc:f6:d7:2e:8e:e4:a4:fb:92:4c:
- bc:c4:b1:50:ae:ba:4f:31:90:c1:4b:be:be:45:39:
- ba:a1:77:b4:0e:92:93:a2:e0:ba:13:7a:92:4d:bd:
- cf:bf:5a:3f:12:75:a1:44:17:41:56:ef:1c:db:7a:
- 84:74:b9:c6:35:b5:ed:3c:39
- Exponent: 65537 (0x10001)
- Signature Algorithm: sha1WithRSAEncryption
- 64:bd:92:73:41:b3:33:42:3a:ad:6f:71:09:0a:d0:0b:c2:e6:
- e8:77:74:10:3a:16:08:a0:f5:7b:df:94:32:6a:f4:b4:19:a5:
- 2e:f6:d7:87:8d:3c:da:c5:3d:44:85:f7:b0:92:c4:ba:b4:fb:
- 4c:82:17:50:18:73:75:46:d7:cf:74:77:93:61:f7:57:11:57:
- 8e:07:9e:e1:8b:8a:70:99:52:b6:60:c9:91:e3:07:70:9a:18:
- f1:6b:f8:05:6b:2f:80:fb:51:5f:42:f7:d1:10:b5:1d:94:25:
- e1:d1:4e:5e:80:53:cc:06:bd:92:dd:a2:f3:31:28:ae:51:ff:
- 81:b1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement