seitime-frappe/frappe/docs/user/es/bench/guides/configuring-https.md
Narciso E. Núñez Arias 923990872b [docs] Translation of the Guides And Resources section in bench to Spanish (#3747)
* Add basic files structure for spanish translation of the doc

* Translate the video tutorial index page

* Translate Before Start page

* Translate What is an app page

* Translate the Bench page

* Translate Conslusion page of the tutorial

* Translate to spanish Tutorial Index page

* Translate to spanish Reports page

* Translate to Spanish Roles Page

* Translate to Spanish the Tutorial Model Page

* Translate to Spanish the tutorial Single Doctypes page

* Translate to Spanish the tutorial Doctype files structure page

* Translate to Spanish the tutorial Start Bench page

* Translate to Spanish the tutorial New App page

* Translate to Spanish the tutorial Client Side Script page

* Translate to Spanish the tutorial Users and records page

* Translate to Spanish the tutorial Setting Up the site page

* Translate to Spanish the tutorial Task Runner page

* Translate to Spanish the tutorial Controllers Page

* Translate to Spanish the tutorial Doctypes page

* Translate to Spanish the tutorial Naming And Linking page

* Translate to Spanish the tutorial Web Views page

* Add basic file structure to translate the bench section of the tutorial

* [docs] Translate to Spanish the tutorial Adding custom domain page

* [docs] Translate to Spanish the tutorial Configuring HTTPS page

* [docs] Translate to Spanish the tutorial Diagnosing the Scheduler page

* [docs] Translate to Spanish the tutorial Settings Site Limits\ page

* [docs] Translate to Spanish the tutorial Setup Production page

* [docs] Translate to Spanish the tutorial Bench ProcFile page

* [docs] Translate to Spanish the tutorial Manual Setup page

* [docs] Translate to Spanish the tutorial Background Services page

* [docs] Translate to Spanish the tutorial Lets Encrypt Setup page

* [docs] Translate to Spanish the tutorial Setup Multitenancy page

* [docs] Translate to Spanish the tutorial Bench Commands page
2017-07-20 10:28:15 +05:30

48 lines
1.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Configurando HTTPS
### Obtener los archivos requeridos
Puede obtener un certificado SSL de una entidad emisora de certificados de confianza o generar su propio certificado.
Para los certificados auto-firmados, el navegador mostrará una advertencia de que el certificado no es de confianza. [Aquí hay un tutorial para usar Let's Encrypt para obtener un certificado SSL gratuito](lets-encrypt-ssl-setup.html)
Los archivos obligatorios son:
* Certificado (Normalmente con extensión .crt)
* Clave privada descifrada
Si tienes varios certificados (primario e intermedios), tendrás que unirlos. Por ejemplo,
cat su_certificado.crt CA.crt >> certificate_bundle.crt
También asegúrese que su clave privada no sea legible. Generalmente, solo puede ser leída por root ya que normalmente es el dueño de la misma.
chown root private.key
chmod 600 private.key
### Mueva los dos archivos a una ruta confiable
mkdir /etc/nginx/conf.d/ssl
mv private.key /etc/nginx/conf.d/ssl/private.key
mv certificate_bundle.crt /etc/nginx/conf.d/ssl/certificate_bundle.crt
### Establecer configuraciones de nginx
Configura las rutas al certificado y la clave privada de su site.
bench set-ssl-certificate site1.local /etc/nginx/conf.d/ssl/certificate_bundle.crt
bench set-ssl-key site1.local /etc/nginx/conf.d/ssl/private.key
### Generar la configuració de nginx
bench setup nginx
### Reiniciar nginx
sudo service nginx reload
o
systemctl reload nginx # for CentOS 7
Ahora que tienes configurado el SSL, todo el tráfico HTTP va a ser redireccionado a HTTPS