Web services: Difference between revisions

Jump to navigation Jump to search
→‎SSL/TLS: add self-signed certificates
change <source> tag to <syntaxhighlight>
→‎SSL/TLS: add self-signed certificates
Line 153: Line 153:
   Donating to EFF:                    https://eff.org/donate-le
   Donating to EFF:                    https://eff.org/donate-le
</syntaxhighlight>
</syntaxhighlight>
== Creating self-signed certificates (usually for SSL connection) ==
<source lang="bash">
$ sudo a2enmod ssl
$ sudo service apache2 restart
$ sudo mkdir /etc/apache2/ssl
$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.pem -outform PEM
</source>


= Miscellaneous =
= Miscellaneous =

Navigation menu