Advertisement
Guest User

Untitled

a guest
Jul 5th, 2017
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. [root@150602 ~]# ./create_new_certificate
  2. Enter a filename for your new certificate (cert2010, cert2011, etc):
  3. test2
  4. How many days would you like this certificate to be valid for?
  5. 365
  6. You will be prompted for the private keys in our password file
  7. Be sure to fill in the Common Name and Email Address, and don't set a challenge password. Leave the rest as defaults
  8. ================================
  9. Used '4 Pillars CTS' for the Common Name
  10. ================================
  11. Generating RSA private key, 1024 bit long modulus
  12. ..........++++++
  13. ........................++++++
  14. e is 65537 (0x10001)
  15. Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
  16. Verifying - Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
  17. Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
  18. You are about to be asked to enter information that will be incorporated
  19. into your certificate request.
  20. What you are about to enter is what is called a Distinguished Name or a DN.
  21. There are quite a few fields but you can leave some blank
  22. For some fields there will be a default value,
  23. If you enter '.', the field will be left blank.
  24. -----
  25. Country Name (2 letter code) [CA]:
  26. State or Province Name (full name) [Alberta]:
  27. Locality Name (eg, city) [Edmonton]:
  28. Organization Name (eg, company) [4 Pillars Consulting Group Inc.]:
  29. Organizational Unit Name (eg, section) []:
  30. Common Name (eg, your name or your server's hostname) []:test2
  31. Email Address []:test2@4pillars.ca
  32.  
  33. Please enter the following 'extra' attributes
  34. to be sent with your certificate request
  35. A challenge password []:
  36. An optional company name []:
  37. Using configuration from /usr/share/ssl/openssl.cnf
  38. Check that the request matches the signature
  39. Signature ok
  40. Certificate Details:
  41. Serial Number: 11 (0xb)
  42. Validity
  43. Not Before: Dec 14 14:46:44 2010 GMT
  44. Not After : Dec 14 14:46:44 2011 GMT
  45. Subject:
  46. countryName = CA
  47. stateOrProvinceName = Alberta
  48. organizationName = 4 Pillars Consulting Group Inc.
  49. commonName = test2
  50. emailAddress = test2@4pillars.ca
  51. X509v3 extensions:
  52. X509v3 Basic Constraints:
  53. CA:FALSE
  54. Netscape Comment:
  55. OpenSSL Generated Certificate
  56. X509v3 Subject Key Identifier:
  57. 7E:F5:83:6F:62:67:19:E4:44:52:34:EB:62:00:3C:15:DD:E4:A0:53
  58. X509v3 Authority Key Identifier:
  59. DirName:/C=CA/ST=Alberta/L=Edmonton/O=4 Pillars Consulting Group Inc./CN=4 Pillars Consulting Group Inc./emailAddress=troyt@4pillars.ca
  60. serial:00
  61.  
  62. Certificate is to be certified until Dec 14 14:46:44 2011 GMT (365 days)
  63. Sign the certificate? [y/n]:y
  64.  
  65.  
  66. 1 out of 1 certificate requests certified, commit? [y/n]y
  67. Write out database with 1 new entries
  68. Data Base Updated
  69. Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
  70. Enter Export Password:
  71. Verifying - Enter Export Password:
  72. Certificate test2@4pillars.ca.p12 placed in home directory
  73. This certificate will be good for 365 days
  74. [root@150602 ~]# ls
  75. 4pillars.ca certtest@4pillars.ca.p12 portsentry_beta
  76. 4pillars.sql create_new_certificate psa
  77. 4pillars.sql.zip databases temp
  78. backup eaccelerator-0.9.5.3 test2@4pillars.ca@4pillars.ca.p12
  79. backupdatabases export_to_production test2@4pillars.ca.p12
  80. cert2011@4pillars.ca.p12 hotfix webalizer
  81. cert2012@4pillars.ca.p12 message.txt
  82. certs2011v2@4pillars.ca.p12 portsentry-1.2.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement