[GeoNode-devel] [GeoNode-users] Installing SSL certificates in GeoNode

Simone Dalmasso simone.dalmasso at gmail.com
Thu Jun 15 06:50:25 PDT 2017


Thanks for reporting back Dimitris, very interesting.

2017-06-15 15:33 GMT+02:00 Dimitris Karakostis <
karakostis.dimitris at gmail.com>:

> I figured out that the issue was related with doublicated links in the
> base_link table. Apparently when I executed the updatelayer function new
> links (with https) were created but the old ones were not deleted. This
> later was causing conflict when the layer_detail page was loading.
> Regarding installing the SSL in nginx server I followed this tutorial:
> https://goo.gl/Iod9kQ
>
> Dimitris
>
> On Thu, Jun 15, 2017 at 11:10 AM, Amedeo Fadini <amefad at gmail.com> wrote:
>
>> Hi Dimitris,
>>
>> How is handled the Proxy configuration in Nginx?
>> Did you checked if the proxy_pass in Nginx  is mapped to the same address
>> and port of <connector port> in tomcat7/server.xml?
>>
>> If you can add the part of Nginx configuration to the tutorial page i
>> think it will be good.
>>
>> Amefad
>>
>> 2017-06-15 8:40 GMT+02:00 Dimitris Karakostis <
>> karakostis.dimitris at gmail.com>:
>>
>>> Hey list,
>>>
>>> We are installing SSL certificates for our GeoNode instance. I am
>>> testing right now in staging and I am facing some issues. Although the SSL
>>> is installed in the server and partially works, I am not able to load the
>>> existing layers.
>>>
>>> To install the SSL I have followed the instructions here:
>>> http://docs.geonode.org/en/master/tutorials/advanced/g
>>> eonode_production/ssl.html  (instead of apache we have nginx)
>>> I have also changed the corresponding URLs in the local_settings.py file
>>> (SITE_URL etc.)
>>> And I have executed the updatelayers command.
>>>
>>> The staging.geonode.wfp.org page loads with an https and a notification
>>> that is not fully secured. This must be cause some images and the
>>> openstreetmap baselayer  have hardcoded http instead of https.
>>>
>>> I can upload new layers and style them or edit the metadata but I am not
>>> able to access any of the old (existing) layers.
>>>
>>> I get a NGINX 502 Bad Gateway error. The log files are not particularly
>>> helpful. I suspect that some of the links broke after I executed the
>>> updatelayer command. Before that, I was able to access the layers but I
>>> couldn't style or edit the metadata.
>>>
>>> Do you have any idea what it could be the issue?
>>>
>>> Thanks a lot.
>>> Dimitris
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170615/3c833e38/attachment.html>


More information about the geonode-devel mailing list