Translations:Configuring Apache to use SSL/4/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "<ol> <li>'''Activer le module SSL'''<br/> Installez Apache (voir Installing Apache), puis activez le module SSL ainsi :...")
 
No edit summary
Line 4: Line 4:
</li>
</li>
<li>'''Créer un certificat SSL autosigné'''{{Command| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/server.key -out /etc/ssl/certs/server.crt}}
<li>'''Créer un certificat SSL autosigné'''{{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, 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:
Si on vous demande une phrase de passe, assurez-vous de relancer la commande avec la syntaxe correcte, y compris l'option <code>-node</code>. Vous devrez ensuite répondre aux questions qui suivent, pour lesquelles nous avons utilisé des exemples de réponse.

Revision as of 20:33, 21 December 2016

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Configuring Apache to use SSL)
<ol>
<li><b>Activate the SSL module</b><br/>
Once Apache has been installed (see [[Creating_a_web_server_on_a_cloud#Install_Apache2 | Installing Apache]]), the SSL module must be enabled with{{Commands|sudo a2enmod ssl|sudo service apache2 restart}}
</li>
<li><b>Create a self-signed SSL certificate</b>{{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, it likely means that 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.
  1. Activer le module SSL
    Installez Apache (voir Installing Apache), puis activez le module SSL ainsi :
    [name@server ~]$ sudo a2enmod ssl
    [name@server ~]$ sudo service apache2 restart
    
  2. Créer un certificat SSL autosigné
    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
    

    Si on vous demande une phrase de passe, assurez-vous de relancer la commande avec la syntaxe correcte, y compris l'option -node. Vous devrez ensuite répondre aux questions qui suivent, pour lesquelles nous avons utilisé des exemples de réponse.