<div dir="ltr"><div dir="ltr">Hi Naresh,<div>there should be one possible solution using Letsencrypt from Olivier Dalang here</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/4024">https://github.com/GeoNode/geonode/pull/4024</a><br></div><div><br></div><div>take a look at the readme and documentation.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno gio 25 ott 2018 alle ore 14:05 Naresh N <<a href="mailto:naresh919@gmail.com">naresh919@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear All,<div><br></div><div>Please help to enable https for GeoNode. Please find the details below</div><div><br></div><div>Server OS: RHEL 7.2</div><div>GeoNode Version: 2.4</div><div>64 -bit machine.</div><div><br></div><div>The following commands executed. (followed from <b><a href="http://docs.geonode.org/en/2.4.x/tutorials/advanced/geonode_production/ssl.html?highlight=ssl" target="_blank">http://docs.geonode.org/en/2.4.x/tutorials/advanced/geonode_production/ssl.html?highlight=ssl</a></b>)</div><div><br></div><div>1. <span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px">Copied the our SSL key and certificate to the following locations:</span></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px"> </span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px">sudo cp server.crt /etc/</span><span class="m_1110065458016175246gmail-highlighted" style="color:rgb(64,64,64);font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;box-sizing:border-box;background:rgb(241,196,15);display:inline-block;font-weight:bold;padding:0px 6px">ssl</span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px">/certs/geonode.crt</span></div><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;overflow:auto;line-height:normal;color:rgb(64,64,64);background-color:rgb(252,252,252)"> sudo cp server.key /etc/ssl/geonode.key</pre><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;overflow:auto;line-height:normal;color:rgb(64,64,64);background-color:rgb(252,252,252)">2. The following lines are included in the file - /etc/httpd/conf/geonode.conf</pre><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;overflow:auto;line-height:normal;color:rgb(64,64,64);background-color:rgb(252,252,252)"> <VirtualHost
*:80></pre>
<p class="MsoNormal" style="margin:0in 0in 0.25in;line-height:18pt;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(64,64,64)">with:</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><IfModule mod_</span><b><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">ssl</span></b><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">.c></span></p>
<p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><VirtualHost
_default_:443></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.25in;line-height:18pt;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(64,64,64)">At the bottom of the
file, replace:</span></p>
<p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"></VirtualHost></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.25in;line-height:18pt;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(64,64,64)">with:</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> </span><b><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">SSL</span></b><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">Engine on</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> SSLCertificateFile /etc/ssl/certs/geonode.crt</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> SSLCertificateKeyFile
/etc/ssl/certs/geonode.key</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"></VirtualHost></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"></IfModule></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><VirtualHost *:80></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;background:rgb(252,252,252);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> Redirect permanent / <a href="https://domainname/" target="_blank">https://domainname/</a></span></p>
<p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"></VirtualHost></span></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">3. </span><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(64,64,64)">the </span><span style="font-size:9pt;font-family:Consolas;color:rgb(231,76,60)">SITEURL </span><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(64,64,64)">protocol to https: in local_settings.py and settings.py</span></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">SITEURL</span><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> </span><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">=</span><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"> </span><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">'https://<ipaddressOrDomainName>/'</span><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><font color="#404040" face="Consolas"><span style="font-size:9pt">4. </span><span style="font-size:12px">Apache</span><span style="font-size:9pt"> restarted</span></font></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><font color="#404040" face="Consolas"><span style="font-size:12px">Before changing Tomcat and other Geoserver settings, I want to see whether GeoNode Home page appears with https or not.</span></font></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><font color="#404040" face="Consolas"><span style="font-size:12px">I have opened the geonode home page with https it is not Opening.</span></font></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt">Is the procedure followed is correct? If not please help to enable to run GeoNode with SSL</p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt">Please let me know any other information required further </p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt">Thanks&Regards,</p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt">Naresh</p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt"><br></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><br></span></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"></span></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><br></span></p><p class="MsoNormal" style="line-height:normal;background:rgb(252,252,252);margin:0in 0in 10pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)"><br></span></p></div></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;font-size:11pt;white-space:pre-wrap">==</span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Via di Montramito 3/A - </span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">55054 Massarosa (LU) - </span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">mob: +39 331 6233686</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.</span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>