Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@150602 ~]# ./create_new_certificate
- Enter a filename for your new certificate (cert2010, cert2011, etc):
- test2
- How many days would you like this certificate to be valid for?
- 365
- You will be prompted for the private keys in our password file
- Be sure to fill in the Common Name and Email Address, and don't set a challenge password. Leave the rest as defaults
- ================================
- Used '4 Pillars CTS' for the Common Name
- ================================
- Generating RSA private key, 1024 bit long modulus
- ..........++++++
- ........................++++++
- e is 65537 (0x10001)
- Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
- Verifying - Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
- Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
- 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) [CA]:
- State or Province Name (full name) [Alberta]:
- Locality Name (eg, city) [Edmonton]:
- Organization Name (eg, company) [4 Pillars Consulting Group Inc.]:
- Organizational Unit Name (eg, section) []:
- Common Name (eg, your name or your server's hostname) []:test2
- Email Address []:test2@4pillars.ca
- Please enter the following 'extra' attributes
- to be sent with your certificate request
- A challenge password []:
- An optional company name []:
- Using configuration from /usr/share/ssl/openssl.cnf
- Check that the request matches the signature
- Signature ok
- Certificate Details:
- Serial Number: 11 (0xb)
- Validity
- Not Before: Dec 14 14:46:44 2010 GMT
- Not After : Dec 14 14:46:44 2011 GMT
- Subject:
- countryName = CA
- stateOrProvinceName = Alberta
- organizationName = 4 Pillars Consulting Group Inc.
- commonName = test2
- emailAddress = test2@4pillars.ca
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Comment:
- OpenSSL Generated Certificate
- X509v3 Subject Key Identifier:
- 7E:F5:83:6F:62:67:19:E4:44:52:34:EB:62:00:3C:15:DD:E4:A0:53
- X509v3 Authority Key Identifier:
- DirName:/C=CA/ST=Alberta/L=Edmonton/O=4 Pillars Consulting Group Inc./CN=4 Pillars Consulting Group Inc./emailAddress=troyt@4pillars.ca
- serial:00
- Certificate is to be certified until Dec 14 14:46:44 2011 GMT (365 days)
- Sign the certificate? [y/n]:y
- 1 out of 1 certificate requests certified, commit? [y/n]y
- Write out database with 1 new entries
- Data Base Updated
- Enter pass phrase for /usr/local/ssl/4pillarsCA/user/keys/test2@4pillars.ca.key:
- Enter Export Password:
- Verifying - Enter Export Password:
- Certificate test2@4pillars.ca.p12 placed in home directory
- This certificate will be good for 365 days
- [root@150602 ~]# ls
- 4pillars.ca certtest@4pillars.ca.p12 portsentry_beta
- 4pillars.sql create_new_certificate psa
- 4pillars.sql.zip databases temp
- backup eaccelerator-0.9.5.3 test2@4pillars.ca@4pillars.ca.p12
- backupdatabases export_to_production test2@4pillars.ca.p12
- cert2011@4pillars.ca.p12 hotfix webalizer
- cert2012@4pillars.ca.p12 message.txt
- certs2011v2@4pillars.ca.p12 portsentry-1.2.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement