Translations:Configuring Apache to use SSL/4/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 4: | Line 4: | ||
</li> | </li> | ||
<li>'''Create a Self-Signed SSL Certificate'''{{Command| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/server.key -out /etc/ssl/certs/server.crt}} | <li>'''Create a Self-Signed SSL Certificate'''{{Command| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/server.key -out /etc/ssl/certs/server.crt}} | ||
If you are asked for a pass phrase this likely means you missed the <code>-node</code> option | If you are asked for a pass phrase this likely means you missed the <code>-node</code> option: please reissue the command checking it carefully against the above. This command will ask you a series of questions. Below is a list of the questions with example responses: |
Revision as of 20:07, 21 December 2016
- Activate SSL Module
Once Apache has been installed (see Installing Apache) the SSL module must be enabled with[name@server ~]$ sudo a2enmod ssl [name@server ~]$ sudo service apache2 restart
- Create a Self-Signed SSL Certificate
[name@server ~]$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/server.key -out /etc/ssl/certs/server.crt
If you are asked for a pass phrase this likely means you missed the
-node
option: please reissue the command checking it carefully against the above. This command will ask you a series of questions. Below is a list of the questions with example responses: