[GeoNode-users] Fwd: SSL enable -- for GeoNode
Naresh N
naresh919 at gmail.com
Fri Oct 26 00:10:23 PDT 2018
Dear All,
Kindly help me enable SSL for GeoNode.
Thanks&Regards,
Naresh.N
---------- Forwarded message ---------
From: Naresh N <naresh919 at gmail.com>
Date: Thu, Oct 25, 2018 at 5:30 PM
Subject: SSL enable -- for GeoNode
To: geonode-users lists.osgeo.org <geonode-users at lists.osgeo.org>
Dear All,
Please help to enable https for GeoNode. Please find the details below
Server OS: RHEL 7.2
GeoNode Version: 2.4
64 -bit machine.
The following commands executed. (followed from
*http://docs.geonode.org/en/2.4.x/tutorials/advanced/geonode_production/ssl.html?highlight=ssl
<http://docs.geonode.org/en/2.4.x/tutorials/advanced/geonode_production/ssl.html?highlight=ssl>*
)
1. Copied the our SSL key and certificate to the following locations:
sudo cp server.crt /etc/ssl/certs/geonode.crt
sudo cp server.key /etc/ssl/geonode.key
2. The following lines are included in the file - /etc/httpd/conf/geonode.conf
<VirtualHost
*:80>
with:
<IfModule mod_*ssl*.c>
<VirtualHost _default_:443>
At the bottom of the file, replace:
</VirtualHost>
with:
*SSL*Engine on
SSLCertificateFile /etc/ssl/certs/geonode.crt
SSLCertificateKeyFile /etc/ssl/certs/geonode.key
</VirtualHost>
</IfModule>
<VirtualHost *:80>
Redirect permanent / https://domainname/
</VirtualHost>
3. the SITEURL protocol to https: in local_settings.py and settings.py
SITEURL = 'https://<ipaddressOrDomainName>/'
4. Apache restarted
Before changing Tomcat and other Geoserver settings, I want to see whether
GeoNode Home page appears with https or not.
I have opened the geonode home page with https it is not Opening.
Is the procedure followed is correct? If not please help to enable to run
GeoNode with SSL
Please let me know any other information required further
Thanks&Regards,
Naresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181026/cc92bb82/attachment.html>
More information about the geonode-users
mailing list