Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
- Generating a 2048 bit RSA private key
- .......................................................+++
- ...........................................................+++
- writing new private key to '/etc/apache2/ssl/apache.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) [AU]:DE
- State or Province Name (full name) [Some-State]:Baden-Wuerttemberg D
- Locality Name (eg, city) []:Stuttgart
- Organization Name (eg, company) [Internet Widgits Pty Ltd]:Seier & Sohn
- Organizational Unit Name (eg, section) []:
- Common Name (e.g. server FQDN or YOUR name) []:seierundsohn.com
- Email Address []:seier@seierundsohn.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement