Advertisement
Guest User

Untitled

a guest
Feb 5th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.56 KB | None | 0 0
  1. C:\Program Files (x86)\Java\jdk1.7.0_09\bin>gen.bat
  2. Creating Server key pair
  3. Enter keystore password:
  4. Re-enter new password:
  5. What is your first and last name?
  6.   [Unknown]:  DAVE-PC
  7. What is the name of your organizational unit?
  8.   [Unknown]:  Education
  9. What is the name of your organization?
  10.   [Unknown]:  UoR
  11. What is the name of your City or Locality?
  12.   [Unknown]:  Reading
  13. What is the name of your State or Province?
  14.   [Unknown]:  Berkshire
  15. What is the two-letter country code for this unit?
  16.   [Unknown]:  GB
  17. Is CN=DAVE-PC, OU=Education, O=UoR, L=Reading, ST=Berkshire, C=GB correct?
  18.   [no]:  yes
  19.  
  20. Enter key password for <server>
  21.         (RETURN if same as keystore password):
  22. Creating Client key pair
  23. Enter keystore password:
  24. Re-enter new password:
  25. What is your first and last name?
  26.   [Unknown]:  DAVE-PC
  27. What is the name of your organizational unit?
  28.   [Unknown]:  Technology
  29. What is the name of your organization?
  30.   [Unknown]:  Blah
  31. What is the name of your City or Locality?
  32.   [Unknown]:  Reading
  33. What is the name of your State or Province?
  34.   [Unknown]:  Berkshire
  35. What is the two-letter country code for this unit?
  36.   [Unknown]:  GB
  37. Is CN=DAVE-PC, OU=Technology, O=Blah, L=Reading, ST=Berkshire, C=GB correct?
  38.   [no]:  yes
  39.  
  40. Enter key password for <client>
  41.         (RETURN if same as keystore password):
  42. Exporting self-signed server certificate
  43. Enter keystore password:
  44. Certificate stored in file <servercert.cer>
  45. Exporting self-signed client certificate
  46. Enter keystore password:
  47. Certificate stored in file <clientcert.cer>
  48. Importing server cert into client truststore
  49. Enter keystore password:
  50. Re-enter new password:
  51. Owner: CN=DAVE-PC, OU=Education, O=UoR, L=Reading, ST=Berkshire, C=GB
  52. Issuer: CN=DAVE-PC, OU=Education, O=UoR, L=Reading, ST=Berkshire, C=GB
  53. Serial number: 1e9caacb
  54. Valid from: Thu Feb 06 00:32:14 GMT 2014 until: Fri Feb 06 00:32:14 GMT 2015
  55. Certificate fingerprints:
  56.          MD5:  73:59:C7:4A:DF:B4:B1:2A:A9:51:A5:9D:29:A8:0A:34
  57.          SHA1: 0B:FE:A8:27:D7:65:A7:AD:85:AA:8E:DC:23:CE:19:A0:E1:C7:E9:6A
  58.          SHA256: 0E:9C:CE:96:DE:70:AA:4D:FD:0E:98:7B:60:B9:FF:F2:3F:30:C6:74:4D:A3:A9:86:A8:69:94:20:36:D6:37:4C
  59.          Signature algorithm name: SHA256withRSA
  60.          Version: 3
  61.  
  62. Extensions:
  63.  
  64. #1: ObjectId: 2.5.29.14 Criticality=false
  65. SubjectKeyIdentifier [
  66. KeyIdentifier [
  67. 0000: 7A 8F A2 99 FC 50 76 5D   2D 13 2D 3B 94 30 AB E2  z....Pv]-.-;.0..
  68. 0010: 5E 7D F4 75                                        ^..u
  69. ]
  70. ]
  71.  
  72. Trust this certificate? [no]:  yes
  73. Certificate was added to keystore
  74. Importing client cert into server truststore
  75. Enter keystore password:
  76. Re-enter new password:
  77. Owner: CN=DAVE-PC, OU=Technology, O=Blah, L=Reading, ST=Berkshire, C=GB
  78. Issuer: CN=DAVE-PC, OU=Technology, O=Blah, L=Reading, ST=Berkshire, C=GB
  79. Serial number: 25494059
  80. Valid from: Thu Feb 06 00:32:35 GMT 2014 until: Fri Feb 06 00:32:35 GMT 2015
  81. Certificate fingerprints:
  82.          MD5:  5D:FD:2F:83:DC:CB:0B:2D:BD:78:29:06:52:6F:DF:CD
  83.          SHA1: 24:35:3C:18:79:9B:DD:18:D8:60:C7:53:BC:FA:E6:F2:5D:EA:75:2C
  84.          SHA256: 99:E3:80:E6:AB:EF:4C:B7:5F:57:5C:16:09:E8:3A:39:8C:46:1C:3A:34:24:AC:48:4D:AF:D6:9A:50:E3:F8:DF
  85.          Signature algorithm name: SHA256withRSA
  86.          Version: 3
  87.  
  88. Extensions:
  89.  
  90. #1: ObjectId: 2.5.29.14 Criticality=false
  91. SubjectKeyIdentifier [
  92. KeyIdentifier [
  93. 0000: 04 2D 17 66 59 5A 69 87   72 3A 14 5F 7F B8 39 55  .-.fYZi.r:._..9U
  94. 0010: 28 22 6B 6A                                        ("kj
  95. ]
  96. ]
  97.  
  98. Trust this certificate? [no]:  yes
  99. Certificate was added to keystore
  100. C:\Program Files (x86)\Java\jdk1.7.0_09\bin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement