How to install a free StartSSL certificate in Plesk

(Versión en español aquí)

Here I leave you a trick about how to install a free startssl certificate in Plesk.

1 .- Validate in Plesk, go to the domain and then click to certificates.

2 .- Fill certificate data form (I recommend using 2048-bit),  accept and send the request. This will generate the CSR key and private key.

3 .- Go to Startssl.com, make an account and go to the control panel. The first thing you must do is validate the corresponding domain at option validations option wizard -> domain name validation.

4 .- You enter the domain and you’ll get several addresses related to the domain (hostmaster, webmaster and those that may appear on the contacts of the domain registration)

5 .- You will receive in the email account a code that you must enter on the check box. Domain name is now validated.

6 .- Validations wizard -> web server SSL certificate. This step asks you a new password and the encryption level, well, do not put ANYTHING! This option is to generate a key that you already have. So give the skip option.

7 .- Submit Certificate Request (CSR) -> Here just paste the plesk generated CSR signature.

8 .- Select the domain name  and use www subdomain. U’ll get the certificate after finishing this point.  Now you can paste the certificate in Plesk. Care, paste in «certificate», not «CA certificate». We almost have the certificate ready.

9 .- Download both StartSSL root certificates. The first is the intermediary ( https:// www.startssl.com/certs/sub.class1.server.ca.pem ) and the second root ( https://www.startssl.com / certs / ca.pem).

10 .- Copy both fines into one:

<php> root# cat ca.pem sub.class1.server.ca.pem > catoot.pem </php>

11.- Upload new catroot.pem file to your plesk certificate. This time is better you use the CA certificate button to send directly the file.

12.- Plesk -> Server -> IP addresses -> select your desired IP -> choose your new certificate.

13.- Stop apache and start it again (better than restart). U’re done !

14.- Just use all internet browsers and confirm that all is working fine 🙂

Como instalar un certificado StartSSL en Plesk

(english version here)

Os dejo un truco para instalar un certificado gratuito StartSSL en Plesk.

1.- Os validáis en plesk, vais al dominio y picáis en certificados

2.- Añadir nuevo certificado, rellenáis los datos (os recomiendo usar 2048 bits) y le dais a la opción solicitud. Ésto os generará la llave CSR y la llave privada.

3.- Id a Startssl.com, cread una cuenta y acceded al panel de control. Lo primero que tenéis que hacer es validar el dominio correspondiente en la opción validations wizard -> domain name validation.

4.- Entráis el dominio y  os aparecerán varias direcciones de vinculadas al domnio (hostmaster, webmaster y las que puedan aparecer en los contactos del registro del dominio)

5.- Recibiréis en la cuenta seleccionada de email una clave que deberéis introducir en la casilla de verificación. Ya está validado el dominio.

6.- Validations wizard -> web server SSL certificate. En este paso os pide una nueva clave y el nivel de cifrado, pues bien, NO PONGÁIS NADA! Esta opción es para generar una llave que ya tenemos. Por lo tanto, dadle a la opción skip.

7.- Submit Certificate Request (CSR) -> Aquí pegáis la firma CSR que os ha generado Plesk.

8.- Seleccionáis el dominio y ponéis en subdominio www.  Cuando acabáis obtenéis el certificado, el cual lo pasáis a pegar en plesk. Ojo, lo pegáis en «certificado», no en «CA certificado».  Ya casi tenemos el certificado listo .

9.- Bajáis los dos certificados raíz de StartSSL. El primero es el intermediario (https://www.startssl.com/certs/sub.class1.server.ca.pem) y el segundo el raíz (https://www.startssl.com/certs/ca.pem).

10.- Copiáis los dos ficheros bajados en uno solo:

[php] root# cat ca.pem sub.class1.server.ca.pem > catoot.pem [/php]

11.- Subís el fichero caroot.pem a Plesk, pero esta vez podéis usar la opción de enviar archivos de certificado. Una vez enviáis el archivo, ya tenéis el certificado completamente instalado.

12.- En Plesk os vais a servidor -> alias IP -> Seleccionáis la IP -> escogéis el nuevo certificado.

13.- Paráis apache y lo volvéis a iniciar (mejor que reiniciar) … y ya está !

14.- Abre todos los navegadores que tengas y comprueba tu trabajo 🙂