Skip to content

Commit

Permalink
[dist] fixing ssl generating docu
Browse files Browse the repository at this point in the history
 * directory /srv/obs/certs needs to get created in advance
 * OpenSSL SSL CSR generation is non-interactive - so you better do not
   run this with >& /dev/null
  • Loading branch information
gollub authored and adrianschroeter committed Jan 10, 2012
1 parent 47b854d commit b308671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/README.SETUP
Expand Up @@ -179,8 +179,9 @@ Enable SSL in /etc/sysconfig/apache2 via

Generate an ssl certificate via following commands:

# mkdir /srv/obs/certs
# openssl genrsa -out /srv/obs/certs/server.key 1024
# openssl req -new -key /srv/obs/certs/server.key -out /srv/obs/certs/server.csr >& /dev/null
# openssl req -new -key /srv/obs/certs/server.key -out /srv/obs/certs/server.csr
# openssl x509 -req -days 365 -in /srv/obs/certs/server.csr -signkey /srv/obs/certs/server.key -out /srv/obs/certs/server.crt
# cat /srv/obs/certs/server.key /srv/obs/certs/server.crt > /srv/obs/certs/server.pem

Expand Down

0 comments on commit b308671

Please sign in to comment.