Translations:Configuring Apache to use SSL/4/en

Revision as of 15:33, 29 May 2023 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. Activate the 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
    
  2. Create a self-signed SSL certificate
    Question.png
    [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, it likely means that 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.