diff --git a/Home.md b/Home.md index eeb07b4..e5efceb 100644 --- a/Home.md +++ b/Home.md @@ -702,26 +702,51 @@ Para inicio de sesión puede acceder con el usuario **admin** y contraseña: **g ``` sudo certbot --nginx -d example.org -d www.example.org ``` +Opcionalmente puede aceptar la redirección automática por parte de nginx seleccionando la opción 2, + +``` +Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +1: No redirect - Make no further changes to the webserver configuration. +2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for +new sites, or if you're confident your site works on HTTPS. You can undo this +change by editing your web server's configuration. +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Select the appropriate number [1-2] then [enter] (press 'c' to cancel): +``` + +Continuamos actualizando el redireccionamiento SSL desde la interfaz grafica, 1. Actualizar los URIs de redireccionamiento OAuth2 de GeoNode\ - Desde el dashboard vaya a, Home › Django/GeoNode OAuth Toolkit › Applications › GeoServer\ + Desde el dashboard vaya a, Administración › Django/GeoNode OAuth Toolkit › Applications › GeoServer\ Agregue los **Redirecs URIs**:\ \ - *https://ejemplo.com/geoserver/\ - https://www.ejemplo.com/geoserver/* -2. Actualice el URL base del proxy, del GeoServer,\ + *https://ejemplo.com/geoserver/* + + *https://www.ejemplo.com/geoserver/* + +![](https://raw.githubusercontent.com/Ark74/GeoNodeInstall/master/images/oauth2.png) + +2. Actualice el URL base del proxy, del GeoServer (https://www.ejemplo.com/geoserver), ver usuario y contraseña arriba\ \ + En la sección *"Settings > Global"* **Proxy Base URL**\ *https://www.ejemplo.com/geoserver* -3. Actualizar el enlace base del GeoServer,\ + +![](https://raw.githubusercontent.com/Ark74/GeoNodeInstall/master/images/geoserver_ssl.png) + +3. Actualizar el enlace base del GeoServer, \ Desde la interfaz de administración, vaya a \ - Security > Users, Groups, Roles > geonode REST role service\ + Seguridad > Usuarios, Grupos, Roles > geonode REST role service\ \ **Base Server URL**\ *https://www.ejemplo.com* + +![](https://raw.githubusercontent.com/Ark74/GeoNodeInstall/master/images/authkey_rest.png) + 4. Actualizar los parametros OAuth2 de GeoServer.\ Desde la interfaz de administración, vaya a \ - Security > Authentication > Authentication Filters > geonode-oauth2 + Seguridad > Identificación > Filtros de identificación > geonode-oauth2 * [x] Force Access Token URI HTTPS Secure Protocol\ Access Token URI\ *https://www.ejemplo.com/o/token/* @@ -737,6 +762,9 @@ sudo certbot --nginx -d example.org -d www.example.org Logout URI\ *https://www.ejemplo.com/account/logout/* + +![](https://raw.githubusercontent.com/Ark74/GeoNodeInstall/master/images/geonode-oauth2.png) + 5. Actualizar la configuración UWSGI,\ Reemplazar http a https en /etc/uwsgi/apps-enabled/geonode.ini @@ -758,3 +786,8 @@ sudo certbot --nginx -d example.org -d www.example.org ``` sudo service uwsgi restart ``` +## Anexos +### Cambio de contraseña GeoServer +En el menú lateral búsque la sección **Seguridad** > **Usuarios, Grupos, Roles** bajo la pestaña Users/Groups. + +Editar usuario admin, modifique su contraseña y guarde los cambios. \ No newline at end of file