<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to es-install-apache</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>Recent changes to es-install-apache</description><atom:link href="https://sourceforge.net/p/ixkan/wiki/es-install-apache/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 13 Oct 2015 20:45:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ixkan/wiki/es-install-apache/feed" rel="self" type="application/rss+xml"/><item><title>es-install-apache modified by Humberto Keymur Landeros</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -66,5 +66,9 @@
 # reboot
 ~~~~~~

+&lt;img rel="nofollow" src="http://www.ixkan.org.mx/images/wiki/apl-es/https-1.png" style="width: 100%;"/&gt;
+
+&lt;img rel="nofollow" src="http://www.ixkan.org.mx/images/wiki/apl-es/https-2.png" style="width: 100%;"/&gt;
+
  --------------
 [ &amp;lt;&amp;lt; OpenBSD ](https://sourceforge.net/p/ixkan/wiki/es-install-openbsd) [| Indice |](https://sourceforge.net/p/ixkan/wiki/es/) [PHP &amp;gt;&amp;gt;](https://sourceforge.net/p/ixkan/wiki/es-install-php)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Humberto Keymur Landeros</dc:creator><pubDate>Tue, 13 Oct 2015 20:45:34 -0000</pubDate><guid>https://sourceforge.net95753389bc0962458ed67ebca476b29f36b46e5c</guid></item><item><title>es-install-apache modified by Humberto Keymur Landeros</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Humberto Keymur Landeros</dc:creator><pubDate>Tue, 13 Oct 2015 19:01:01 -0000</pubDate><guid>https://sourceforge.net29f9eb0ee90b604359b72678954a04358ce2b6aa</guid></item><item><title>es-install-apache modified by Humberto Keymur Landeros</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -47,7 +47,8 @@
 /etc/ssl/private/server.key -out /etc/ssl/server.crt

 Signature ok
-subject =/C=mx/ST=Distrito Federal/L=DF/0=ixkan/0U=firewall/CN=ixkan/ emai1Address=humberto_keymur@ixkan.org.mx
+subject =/C=mx/ST=Distrito Federal/L=DF/0=ixkan/0U=firewall/CN=ixkan/ 
+emai1Address=humberto_keymur@ixkan.org.mx
 Getting Private key
 ~~~~~~
 - - - - - - -
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Humberto Keymur Landeros</dc:creator><pubDate>Tue, 13 Oct 2015 18:59:32 -0000</pubDate><guid>https://sourceforge.net33ca64a5ed4dee6771601fd3e3e83c20d76d9db4</guid></item><item><title>es-install-apache modified by Humberto Keymur Landeros</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -11,7 +11,8 @@
 ~~~~~~
 # openssl genrsa -out /etc/ss1/private/server.key 1024
 Generating RSA private key, 1024 bit long Modulus
-+.......++++++ ......................................... ....... ........ ++++++ . ........ ++++++ 
++.......++++++ ......................................... ....... ........ ++++++ .
+........ ++++++ 
 e is 65537 (0x10001)
 ~~~~~~
 - - - - - - -
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Humberto Keymur Landeros</dc:creator><pubDate>Tue, 13 Oct 2015 18:55:35 -0000</pubDate><guid>https://sourceforge.netba538932bc30c7597a7de6e39119d200ede461ed</guid></item><item><title>es-install-apache modified by Humberto Keymur Landeros</title><link>https://sourceforge.net/p/ixkan/wiki/es-install-apache/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="instalcion-de-apache"&gt;Instalción de Apache&lt;/h1&gt;
&lt;p&gt;Ixkan funciona como appliance y se comporta como un equipo comercial al ser instalado de esta manera. Esta instalación es ideal para aquellos que desean implementar un firewall desde cero o quieren actualizar su firewall ya implementado.&lt;/p&gt;
&lt;h2 id="certificado-ssl-para-https"&gt;Certificado SSL para HTTPS&lt;/h2&gt;
&lt;p&gt;Para asegurar la comunicación entre el cliente y el servidor se utiliza HTTPS en el navegador. Para ello, primero se debe generar un certificado, que se almacena en el directorio /etc/ssl/ con la clave correspondiente en /etc/ssl/private/&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# openssl genrsa -out /etc/ss1/private/server.key 1024
Generating RSA private key, 1024 bit long Modulus
+.......++++++ ......................................... ....... ........ ++++++ . ........ ++++++ 
e is 65537 (0x10001)
&lt;/pre&gt;&lt;/div&gt;


&lt;hr/&gt;
&lt;p&gt;Ahora se debe generar el certificado&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# openssl req -new -key /etc/ss1/private/server.key -out /etc/ssl/private/server.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.' the   field   will be left blank.
----
Country Name (2 letter code) []:mx
State or Province Name (full name) []:Distrito Federal
Locality Nar-ie (eg, city) []:DF
Organization Name (eg, company) []:ixkan
Organizational Unit Name (eg, section) []:firewall
Common Name (eg, fully qualified host name) []:ixkan
Email Address [ ]: humberto_keymur@ixkan.org.mx
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:passwodParaFirmarCertificado
An optional company name []:ixkan.org.mx
&lt;/pre&gt;&lt;/div&gt;


&lt;hr/&gt;
&lt;p&gt;Para que la conexión sea cifrada, Apache, debe de contar con un certificado “crt” generado a partir del “crs” y la llave del servidor&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# openssl x509 -req -days 365 -in /etc/ssl/private/server.csr -signkey 
/etc/ssl/private/server.key -out /etc/ssl/server.crt

Signature ok
subject =/C=mx/ST=Distrito Federal/L=DF/0=ixkan/0U=firewall/CN=ixkan/ emai1Address=humberto_keymur@ixkan.org.mx
Getting Private key
&lt;/pre&gt;&lt;/div&gt;


&lt;hr/&gt;
&lt;p&gt;Para que Apache funcione con HTTPS basta con editar &lt;strong&gt;/etc/rc.conf&lt;/strong&gt; e indicarle que inicie en modo seguro&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# use -u to disable chroot, see httpd(8)
#httpd_flags=N0 # for normal use: "" (or "-DSSL" after reading ssl(8))
httpd_flags = "-DSSL"
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Reiniciamos para observar el acceso por https.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# reboot
&lt;/pre&gt;&lt;/div&gt;


&lt;hr/&gt;
&lt;p&gt;&lt;a class="" href="https://sourceforge.net/p/ixkan/wiki/es-install-openbsd"&gt; &amp;lt;&amp;lt; OpenBSD &lt;/a&gt; &lt;a class="" href="https://sourceforge.net/p/ixkan/wiki/es/"&gt;| Indice |&lt;/a&gt; &lt;a class="" href="https://sourceforge.net/p/ixkan/wiki/es-install-php"&gt;PHP &amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Humberto Keymur Landeros</dc:creator><pubDate>Tue, 13 Oct 2015 18:55:10 -0000</pubDate><guid>https://sourceforge.netaec57e31b99b3b062e8b91c78473ffcbea3994f2</guid></item></channel></rss>