<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.m4123148902878193719msoplaintext, li.m4123148902878193719msoplaintext, div.m4123148902878193719msoplaintext
{mso-style-name:m_4123148902878193719msoplaintext;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:427969755;
mso-list-template-ids:1831267190;}
@list l0:level1
{mso-level-start-at:3;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1
{mso-list-id:612442816;
mso-list-template-ids:-1966561436;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Yes, no more SSL errors, or even mixed content warnings in the dev console (that I’ve noticed).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Fixed the latter by changing http to https wherever needed, but later switched to default-protocol URLs (starting with //) so the current protocol
is used, whether http or https. That would be worth adding to master imho, to reduce the work in adding SSL. Apparently there are some issues with obscure clients though, so may need to weigh that up.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Jonathan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Patrick Dufour [mailto:pjdufour.dev@gmail.com]
<br>
<b>Sent:</b> Wednesday, 31 May 2017 8:45 AM<br>
<b>To:</b> Jonathan Doig <j.doig@unsw.edu.au><br>
<b>Cc:</b> geonode-devel <geonode-devel@lists.osgeo.org>; Cezary Statkiewicz <cezary.statkiewicz@geo-solutions.it>; Vaughan Allan <v.allan@unsw.edu.au>; Graham Hannah <g.hannah@unsw.edu.au><br>
<b>Subject:</b> Re: [GeoNode-devel] SSL error on upload and saving metadata<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Nice!<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is the whole upload shapefile to GeoNode layer workflow end-to-end secure and working now (setting aside http basemaps or unrelated ui issues.)?<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Patrick<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On May 30, 2017 6:30 PM, "Jonathan Doig" <<a href="mailto:j.doig@unsw.edu.au">j.doig@unsw.edu.au</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Following this up with the solution for posterity.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Turns out I couldn’t get a signed certificate with the actual hostname included in the subjectAltName, as our signing authority doesn’t cover the actual host domain. Anyway that
wasn’t the problem. The problem (thanks Vaughan!) was missing root and intermediate certificates.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The full solution was to:<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0cm;mso-list:l1 level1 lfo1">
Add our (QuoVadis) root and intermediate certificates to /etc/ssl/certs/geonode-chain.crt<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0cm;mso-list:l1 level1 lfo1">
Point to this file from /etc/apache2/sites-available/geonode.conf by adding this line:<o:p></o:p></li></ol>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:36.0pt">
SSLCertificateChainFile /etc/ssl/certs/geonode-chain.crt<o:p></o:p></p>
<ol start="3" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0cm;mso-list:l0 level1 lfo2">
Add the root certificate to /usr/local/lib/python2.7/dist-packages/httplib2/cacerts.txt<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0cm;mso-list:l0 level1 lfo2">
In local_settings.py, set OGC_SERVER default LOCATION to <a href="https://fully.qualified.domain.name/geoserver" target="_blank">
https://fully.qualified.domain.name/geoserver</a><o:p></o:p></li></ol>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Words to this effect should probably be added to
<a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/ssl.html" target="_blank">
http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/ssl.html</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve added it to our own (tested) Ansible playbook at
<a href="https://github.com/UNSW-CFRC/geonode_install/tree/master/roles/install_ssl" target="_blank">
https://github.com/UNSW-CFRC/geonode_install/tree/master/roles/install_ssl</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Jonathan<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> geonode-devel [mailto:<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Jonathan Doig<br>
<b>Sent:</b> Wednesday, 10 May 2017 5:12 PM<br>
<b>To:</b> Cezary Statkiewicz <<a href="mailto:cezary.statkiewicz@geo-solutions.it" target="_blank">cezary.statkiewicz@geo-solutions.it</a>>;
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<b>Subject:</b> Re: [GeoNode-devel] SSL error on upload and saving metadata<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">Thanks for your response Cezary.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">We have created an alias to our actual host. I think the problem might be that while the python running these functions is using https, it is still calling the actual hostname rather than the alias. It fails to verify
the certificate because the hostname doesn't match the alias. So I’ve requested new certificates based on a config in which I’ve added the actual hostname to subjectAltName. I’ll let you know how it goes.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">Curl output shows no problem with <my-alias>:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">curl -vvv <a href="https://%3cmy-alias%3e/geoserver/" target="_blank">
https://<my-alias>/geoserver/</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Trying <my-host-IP>...<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Connected to <my-alias> (<my-host-IP>) port 443 (#0)<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* found 173 certificates in /etc/ssl/certs/ca-certificates.crt<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* found 697 certificates in /etc/ssl/certs<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* ALPN, offering http/1.1<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate verification OK<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate status verification SKIPPED<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* common name: <my-alias> (matched)<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate expiration date OK<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate activation date OK<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* certificate public key: RSA<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* certificate version: #3<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* subject: C=AU,ST=New South Wales,L=Kensington,O=University of New South Wales,OU=City Futures Research Centre,CN=<my-alias><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* start date: Mon, 08 May 2017 01:05:25 GMT<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* expire date: Fri, 08 May 2020 01:05:21 GMT<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* issuer: C=BM,O=QuoVadis Limited,CN=QuoVadis Global SSL ICA G2<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* compression: NULL<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* ALPN, server accepted to use http/1.1<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">> GET /geoserver/ HTTP/1.1<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">> Host: <my-alias><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">> User-Agent: curl/7.47.0<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">> Accept: */*<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< HTTP/1.1 302 Found<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< Date: Tue, 09 May 2017 23:48:37 GMT<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< Server: Apache-Coyote/1.1<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< Location: /geoserver/index.html<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< Content-Length: 0<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< Set-Cookie: JSESSIONID=5797370732D26CAD77DC9ABB69E89DC7; Path=/geoserver/; HttpOnly<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">< <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Connection #0 to host <my-alias> left intact<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">But it fails on <my-actual-host>:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">curl -vvv <a href="https://%3cmy-actual-host%3e/geoserver/" target="_blank">
https://<my-actual-host>/geoserver/</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Trying <my-host-ip>...<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Connected to <my-actual-host> (<my-host-ip>) port 443 (#0)<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* found 173 certificates in /etc/ssl/certs/ca-certificates.crt<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* found 697 certificates in /etc/ssl/certs<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* ALPN, offering http/1.1<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate verification OK<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* server certificate status verification SKIPPED<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* SSL: certificate subject name (<my-alias>) does not match target host name '<my-actual-host>'<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">* Closing connection 0<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext" style="margin-left:36.0pt">curl: (51) SSL: certificate subject name (<my-alias>) does not match target host name '<my-actual-host>'<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"><span lang="EN-US">-----Original Message-----<br>
From: geonode-devel [<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">mailto:geonode-devel-bounces@lists.osgeo.org</a>] On Behalf Of Cezary Statkiewicz<br>
Sent: Tuesday, 9 May 2017 5:27 PM<br>
To: <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
Subject: Re: [GeoNode-devel] SSL error on upload and saving metadata</span><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">On Tuesday, May 9, 2017 8:27:50 AM CEST Jonathan Doig wrote:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Hi devs<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> I'm putting our Geonode 2.4 behind SSL to protect the passwords over
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> the net.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Based on the<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> doco<<a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_prod" target="_blank">http://docs.geonode.org/en/master/tutorials/advanced/geonode_prod</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> uctio n/ssl.html> I've written two ansible scripts,
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> one<<a href="https://github.com/UNSW-CFRC/geonode_install/blob/master/install_g" target="_blank">https://github.com/UNSW-CFRC/geonode_install/blob/master/install_g</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> eonod e/10_generate_ssl_csr.yml> to generate the key and CSR, the
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> other<<a href="https://github.com/UNSW-CFRC/geonode_install/blob/master/install" target="_blank">https://github.com/UNSW-CFRC/geonode_install/blob/master/install</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> _ssl_ cert.yml> to install the certificate supplied by our university
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> IT. I included the step to add the certificate to httplib2/cacerts.txt
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> for python.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> This works OK in general - the site itself shows as secure in Chrome.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> However, I get errors when uploading a layer and saving metadata:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> SSLHandshakeError at /layers/geonode:test_issue086a/metadata<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> (_ssl.c:590)<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">Could you run<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">curl -vvv <a href="https://your.private.geoserver/geoserver/" target="_blank">
<span style="color:windowtext;text-decoration:none">https://your.private.geoserver/geoserver/</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">curl -vvv <a href="https://your.public.geoserver/geoserver/" target="_blank">
<span style="color:windowtext;text-decoration:none">https://your.public.geoserver/geoserver/</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">and put outputs from those commands?<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Any thoughts?<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> This is similar but not identical to the issue reported last year by
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Antoine Rolland (below).<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Regards<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Jonathan<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Jun 06, 2016; 11:20pm [Antoine ROLLAND]
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=us" target="_blank">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=us</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> er_no<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> des&user=379386> Antoine<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> ROLLAND<<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?m" target="_blank">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?m</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> acro= user_nodes&user=379386> SSL HandshakeError Hello everyone,<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> I'm using Geonode 2.4 stable version, and it's now running under SSL.
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> After this change, part of the website is still working well, but I
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> meet errors while editing metada (when I save), and also when I try to
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> upload a new layer. This is the error I meet :<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> SSLHandshakeError at /layers/geonode:communes/metadata [Errno 1]
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> protocol Request Method: POST Request URL:
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <a href="https://aware.cirad.fr/layers/geonode:communes/metadata" target="_blank">
<span style="color:windowtext;text-decoration:none">https://aware.cirad.fr/layers/geonode:communes/metadata</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Django Version: 1.6.11<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Exception Type: SSLHandshakeError<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Exception Value:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> [Errno 1] _ssl.c:510: error:140770FC:SSL
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> routines:SSL23_GET_SERVER_HELLO:unknown protocol Exception Location:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> /usr/lib/python2.7/dist-packages/httplib2/__init__.py in connect, line
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> 1043 Python Executable: /usr/bin/python Python Version: 2.7.6 Python
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Path:<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> ['/usr/lib/python2.7',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/plat-x86_64-linux-gnu',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/lib-tk',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/lib-old',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/lib-dynload',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/local/lib/python2.7/dist-packages',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/dist-packages',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/python2.7/dist-packages/PILcompat',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/usr/lib/pymodules/python2.7',<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> '/var/www']<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Server time: lun, 6 Jui 2016 09:09:43 -0400<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Also, it seems that the url of the website generated is wrong : a "/"
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> is missing between "websitename" and "uploaded/thumbs" (for instance).
<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> I suppose it is a consequence of the error i meet.<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Any help would be really appreciated<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Thanks<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> Antoine Rolland<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> _______________________________________________<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> geonode-devel mailing list<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> [hidden<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> email]<<a href="http://osgeo-org.1560.x6.nabble.com/user/SendEmail.jtp?type=nod" target="_blank">http://osgeo-org.1560.x6.nabble.com/user/SendEmail.jtp?type=nod</a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> e&nod e=5270129&i=0> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">> <a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">
<span style="color:windowtext;text-decoration:none">http://lists.osgeo.org/mailman/listinfo/geonode-devel</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">--<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">Cezary Statkiewicz<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">mailto: <a href="mailto:cezio@thelirium.net" target="_blank">
<span style="color:windowtext;text-decoration:none">cezio@thelirium.net</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">xmpp: <a href="mailto:cezio@jabber.org" target="_blank">
<span style="color:windowtext;text-decoration:none">cezio@jabber.org</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">pgp: <a href="https://thelirium.net/cezio@thelirium.net.pub.key" target="_blank">
<span style="color:windowtext;text-decoration:none">https://thelirium.net/cezio@thelirium.net.pub.key</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"> <o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">_______________________________________________<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext">geonode-devel mailing list<o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"><a href="mailto:geonode-devel@lists.osgeo.org" target="_blank"><span style="color:windowtext;text-decoration:none">geonode-devel@lists.osgeo.org</span></a><o:p></o:p></p>
<p class="m4123148902878193719msoplaintext"><a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank"><span style="color:windowtext;text-decoration:none">https://lists.osgeo.org/mailman/listinfo/geonode-devel</span></a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>