We use own and third party cookies to improve our services, by analyzing your browsing habits. If you go on browsing, we will consider you are accepting its use. You can change the settings or get more information on our cookies policy Cookie policy

×

Check SSL installation


Installing an SSL Certificate on Apache Server

Purchase and download your certificate

Elige aquí el certificado que más se ajusta a tus necesidades.

You must provide a CSR, or give us the necessary information so we are able to generate it. In the first case, you must securely store the private key that was generated with your CSR. In the second case, we will provide you the private key.

Una vez que haya acabado el proceso de validación, te enviaremos un email con todos los ficheros que necesitas para instalar tu certificado, que igualmente podrás descargar desde tu panel de usuario. En caso de que hayas decidido que seamos nosotros los que creemos el CSR, te facilitaremos también la clave privada.

Preparación del certificado

To install the certificate in Apache, you will first have to make a small preparation in case you have to make use of an intermediate certificate. Occasionally, you will be provided with more than one certificate of this type, but Apache only supports one. What you will have to do in these cases is to concatenate in a single file all the intermediate certificates you have and save it in a single file. To do this, you can use any text editor you have available. Keep in mind that there should be no character between the two blocks; Just a line break so that the END of the first and the BEGIN of the second are not in the same line, as you can see in the following example:

panel
	...
ecWLVtXjCYDqwSfC2Q7sRwrp0Mr82A==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT
	...
				

In the example, the resulting file will be named as intermediate.cer. Once we have the files ready, we should store them in a path that is accessible by apache. We are going to use in this example the path '/usr/local/ssl/'.

Installation

You must open the Apache configuration file (Normally httpd.conf). Your location will depend on how you have configured your system. If you do not know the path, you can search for the name to try to find it. Once you have it, you have to look for it in the 'VirtualHost' section to add the certificate, and you will have to add the following lines, taking into account that the names of the files and the path match that one of the files that have been downloaded:

SSLEngine on
SSLCertificateFile /usr/local/ssl/public.cer
SSLCertificateKeyFile /usr/local/ssl/private.key
SSLCertificateChainFile /usr/local/ssl/intermediate.cer

De esta forma el VirtualHost quedará de la siguiente forma:

<VirtualHost 192.168.1.1:12345>
ServerAdmin soporte@example.com
DocumentRoot /home/www/example
ServerName www.example.com
SSLEngine on
SSLCertificateFile /usr/local/ssl/public.cer
SSLCertificateKeyFile /usr/local/ssl/private.key
SSLCertificateChainFile /usr/local/ssl/intermediate.cer
</VirtualHost>

Hecho esto, tan sólo necesitarás reiniciar el servidor apache. El reinicio del servicio, dependerá de la distribución que tengamos, si no estás seguro de cómo hacerlo, te recomendamos que reinicies el equipo.

Buy SSL Certificate

Big Saves