root@ubuntu:~# openssl req -new -x509 -days 365 -key ca key -out ca crtEnter pass evince for ca key:You are about to be asked to enter information that will be incorporatedinto your certificate request. What you are about to enter is what is called a Distinguished label or a DN. There are quite a few fields but you can leave some blankFor some fields there will be a fail determine,If you enter '.' the field will be left blank.-----Country label (2 earn code) [AU]:GBState or Province label (full name) [Some-State]:MyStateLocality Name (eg city) []:MyCityOrganization Name (eg company) [Internet Widgits Pty Ltd]:MyCompanyOrganizational Unit Name (eg section) []:MyUnitCommon Name (eg. YOUR label) []:MyCompanyEmail Address []:myemailroot@ubuntu:~#
grow@ubuntu:~# openssl req -new -key apache key -out apache csrYou are about to be asked to enter information that will be incorporatedinto 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 blankFor some fields there ordain be a fail value,If you enter '.' the handle will be left blank.-----Country Name (2 earn code) [AU]:GBState or Province Name (full name) [Some-State]:MyStateLocality Name (eg city) []:MyCityOrganization Name (eg company) [Internet Widgits Pty Ltd]:MyCompanyOrganizational Unit Name (eg section) []:MyUnitCommon Name (eg. YOUR name) []:serverFQDNEmail communicate []:myemailPlease enter the following 'extra' attributesto be sent with your certificate requestA challenge password []:An optional company label []:root@ubuntu:~#
root@ubuntu:~# openssl ca -cert ca crt -keyfile ca key -in apache csr -out apache crt -outdir./ -verboseUsing configuration from /usr/lib/ssl/openssl cnfEnter pass phrase for ca key:0 entries loaded from the databasegenerating indexmessage digest is sha1policy is policy_matchnext serial number is 01Certificate Request: Data: Version: 0 (0x0) Subject: C=GB. ST=MyState. L=MyCity. O=MyCompany. OU=MyUnit. CN=serverFQDN/emailAddress=myemail Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (1024 bit) Modulus (1024 bit): 00:eb:95:5b:84:3b:cc:ff:cb:6c:d8:92:e2:f7:39: fc:45:a2:ba:00:01:32:ca:74:5b:15:65:e4:86:59: d9:68:c7:f7:6d:a5:40:32:18:57:52:f4:cc:b0:67: 56:ee:b9:0e:e8:38:8b:40:d2:fa:35:7b:a5:da:f9: 46:94:14:1e:64:5f:bc:35:d6:ba:ea:e7:d1:a0:55: 62:25:ec:3d:84:c5:57:eb:66:27:03:11:a6:be:74: c1:5b:14:ee:81:ce:36:60:e5:f6:4d:59:05:86:4c: 9c:77:6a:e4:d2:17:ee:7e:33:c9:7f:32:ec:5d:cd:.
Forex Groups - Tips on Trading
Related article:
http://www.linuxindex.com/2007/11/30/pete-savage-being-your-own-ca-ssl-certificates/
comments | Add comment | Report as Spam
|