$ chown -R www-data:www-data ./svn
$ cd svn
$ openssl req -new -x509 -nodes -out server.crt -keyout server.key
$ cp server.crt /etc/apache2/ssl
$ cp server.key /etc/apache2/ssl
$ chmod 600 server.key
$ rm server.crt
$ rm server.key
$ ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/
$ ln -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/
$ vi /etc/apache/ports.conf
Listen 3443
$ mkdir www-ssl
... not complete yet
reference
https://kldp.org/node/84957
No comments:
Post a Comment