Difference between revisions of "Using openssl"
Jump to navigation
Jump to search
PeterHarding (talk | contribs) (New page: =Examples= ==Creating a Certificate== <pre> $ openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem Generating a 1024 bit RSA private key ..................................) |
PeterHarding (talk | contribs) |
||
Line 33: | Line 33: | ||
[[Category: | [[Category:OpenSSL]] |
Latest revision as of 17:30, 2 February 2009
Examples
Creating a Certificate
$ openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem Generating a 1024 bit RSA private key ................................++++++ ..........++++++ writing new private key to 'cert.pem' ----- 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]:Victoria Locality Name (eg, city) []:Melbourne Organization Name (eg, company) [Internet Widgits Pty Ltd]:xxx xxx Organizational Unit Name (eg, section) []:xxx Common Name (eg, YOUR name) []:xxx xxx Email Address []:xxx.xxx@xxx.com.au $ ls -l total 628 -rw-r--r-- 1 HardingP Users 2262 Feb 2 17:25 cert.pem