<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.slemoal.fr/index.php?action=history&amp;feed=atom&amp;title=Centreon_activerHTTPS</id>
	<title>Centreon activerHTTPS - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.slemoal.fr/index.php?action=history&amp;feed=atom&amp;title=Centreon_activerHTTPS"/>
	<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centreon_activerHTTPS&amp;action=history"/>
	<updated>2026-05-21T21:01:06Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.slemoal.fr/index.php?title=Centreon_activerHTTPS&amp;diff=412&amp;oldid=prev</id>
		<title>Admin le 7 avril 2020 à 07:54</title>
		<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centreon_activerHTTPS&amp;diff=412&amp;oldid=prev"/>
		<updated>2020-04-07T07:54:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version du 7 avril 2020 à 07:54&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Centreon|Retour]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Installez le module SSL pour Apache :==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Installez le module SSL pour Apache :==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot; &gt;Ligne 86 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 87 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On vérifie qu'il n'y à pas d'erreur&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On vérifie qu'il n'y à pas d'erreur&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl status httpd24-httpd.service&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl status httpd24-httpd.service&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:Centreon]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.slemoal.fr/index.php?title=Centreon_activerHTTPS&amp;diff=411&amp;oldid=prev</id>
		<title>Admin : Page créée avec «  ==Installez le module SSL pour Apache :==  yum install httpd24-mod_ssl openssl  ==Installez vos certificats, ou générez des certificats auto-signés :== Création du ce... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centreon_activerHTTPS&amp;diff=411&amp;oldid=prev"/>
		<updated>2020-04-07T07:54:13Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec «  ==Installez le module SSL pour Apache :==  yum install httpd24-mod_ssl openssl  ==Installez vos certificats, ou générez des certificats auto-signés :== Création du ce... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
==Installez le module SSL pour Apache :==&lt;br /&gt;
 yum install httpd24-mod_ssl openssl&lt;br /&gt;
&lt;br /&gt;
==Installez vos certificats, ou générez des certificats auto-signés :==&lt;br /&gt;
Création du certificat de l'autorité de certification&lt;br /&gt;
&lt;br /&gt;
Pour signer un certificat, vous devez devenir votre propre autorité de certification, cela implique donc de réaliser une clé et un certificat auto-signé.&lt;br /&gt;
*/etc/pki/tls/private/ca.key&lt;br /&gt;
 cd /etc/pki/tls/private/&lt;br /&gt;
 openssl genrsa 2048 &amp;gt; ca.key&lt;br /&gt;
*/etc/pki/tls/certs/ca.crt&lt;br /&gt;
 openssl req -new -x509 -days 9999 -key ca.key &amp;gt; /etc/pki/tls/certs/ca.crt&lt;br /&gt;
&lt;br /&gt;
==Sauvegarder votre configuration Apache pour Centreon :==&lt;br /&gt;
 cp /opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf{,.origin}&lt;br /&gt;
&lt;br /&gt;
==Editez la configuration comme suivant :==&lt;br /&gt;
 nano /opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#&lt;br /&gt;
# Section add by Centreon Install Setup&lt;br /&gt;
#&lt;br /&gt;
Alias /centreon/api /usr/share/centreon&lt;br /&gt;
Alias /centreon /usr/share/centreon/www/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;LocationMatch ^/centreon/(?!api/latest/|api/beta/|api/v[0-9]+/|api/v[0-9]+\.[0-9]+/)(.*\.php(/.*)?)$&amp;gt;&lt;br /&gt;
  ProxyPassMatch fcgi://127.0.0.1:9042/usr/share/centreon/www/$1&lt;br /&gt;
&amp;lt;/LocationMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;LocationMatch ^/centreon/api/(latest/|beta/|v[0-9]+/|v[0-9]+\.[0-9]+/)(.*)$&amp;gt;&lt;br /&gt;
  ProxyPassMatch fcgi://127.0.0.1:9042/usr/share/centreon/api/index.php/$1&lt;br /&gt;
&amp;lt;/LocationMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ProxyTimeout 300&lt;br /&gt;
&lt;br /&gt;
'''ServerName localhost&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  RewriteEngine On&lt;br /&gt;
  RewriteCond %{HTTPS} off&lt;br /&gt;
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  SSLEngine on&lt;br /&gt;
  SSLCertificateFile /etc/pki/tls/certs/ca.crt&lt;br /&gt;
  SSLCertificateKeyFile /etc/pki/tls/private/ca.key'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory &amp;quot;/usr/share/centreon/www&amp;quot;&amp;gt;&lt;br /&gt;
    DirectoryIndex index.php&lt;br /&gt;
    Options Indexes&lt;br /&gt;
    AllowOverride all&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
    Require all granted&lt;br /&gt;
    &amp;lt;IfModule mod_php5.c&amp;gt;&lt;br /&gt;
        php_admin_value engine Off&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    AddType text/plain hbs&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory &amp;quot;/usr/share/centreon/api&amp;quot;&amp;gt;&lt;br /&gt;
    Options Indexes&lt;br /&gt;
    AllowOverride all&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
    Require all granted&lt;br /&gt;
    &amp;lt;IfModule mod_php5.c&amp;gt;&lt;br /&gt;
        php_admin_value engine Off&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    AddType text/plain hbs&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
'''&amp;lt;/VirtualHost&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
RedirectMatch ^/$ /centreon&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Redémarrage des services====&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
 systemctl restart httpd24-httpd.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On vérifie qu'il n'y à pas d'erreur&lt;br /&gt;
 systemctl status httpd24-httpd.service&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>