[Geomoose-users] GeoMOOSE Printing with SSL?

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Mar 12 14:46:04 PDT 2019


(you heard it here first!) MS4W 4.0.0 is now released (and a final 
release of the MS4W 3 series) containing many HTTPS fixes, among many 
others!  For HTTPS please review the updated README, especially point#4 
for PHP at https://ms4w.com/README_INSTALL.html#certificates-for-https 
Actually it's good to spend the time to read all points 1-to-7 there if 
you are tackling HTTPS.  Definitely an upgrade to MS4W 4.0.0 (or 3.3.1) 
is required at the minimum.

MS4W 4 is now in the wild!  Your popular SDI for Windows!  woot!


-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/



On 2019-03-12 5:33 PM, James Klassen wrote:
> Ah good, someone who knows what they are talking about already answered it.
> 
> On Tue, Mar 12, 2019, 15:31 James Klassen <klassen.js at gmail.com 
> <mailto:klassen.js at gmail.com>> wrote:
> 
>     Based on chasing the links in previous list traffic it looks like
>     two lines need to be changed in php.ini.  I have only run ms4w
>     locally though for testing so I haven't run into this issue myself.
> 
>     https://ms4w.com/trac/ticket/171
> 
>     On Tue, Mar 12, 2019, 14:57 Mark Volz <MarkVolz at co.lyon.mn.us
>     <mailto:MarkVolz at co.lyon.mn.us>> wrote:
> 
>         Jim,____
> 
>         __ __
> 
>         Thank you for your feedback. ____
> 
>         I did check that all the requests are https://. ____
> 
>         Also, I did update the server_name to geomoose.lyonco.org:443
>         <http://geomoose.lyonco.org:443>.  Should that be okay?____
> 
>         How can I check if php does not like my certificate, and if
>         needed make php trust the certificate?   And yes I am using MS4W
>         which you said may cause issue.____
> 
>         __ __
> 
>         Thanks____
> 
>         __ __
> 
>         Sincerely,____
> 
>         *Mark Volz, GISP**____*
> 
>         *Lyon County GIS Coordinator____*
> 
>         __ __
> 
>         *From:*James Klassen <klassen.js at gmail.com
>         <mailto:klassen.js at gmail.com>>
>         *Sent:* Tuesday, March 12, 2019 12:37 PM
>         *To:* Mark Volz <MarkVolz at co.lyon.mn.us
>         <mailto:MarkVolz at co.lyon.mn.us>>
>         *Cc:* GeoMOOSE Users List <geomoose-users at lists.osgeo.org
>         <mailto:geomoose-users at lists.osgeo.org>>
>         *Subject:* Re: [Geomoose-users] GeoMOOSE Printing with SSL?____
> 
>         __ __
> 
>         *SWHHS/LYON/LINCOLN COUNTY SECURITY NOTICE:* ____
> 
>         *This email originated from an external sender. Exercise caution
>         before clicking on any links or attachments and consider whether
>         you know the sender. For more information please contact IT
>         support.____*
> 
>         ------------------------------------------------------------------------
> 
>         Some thoughts:____
> 
>         __ __
> 
>         Make sure all the requests in the browser are to https
>         services.  http ones will likely be blocked in some contexts if
>         the main page is http.  In any case you would get a mixed
>         content warning. ____
> 
>         __ __
> 
>         You need to use full domain names (whatever matches the ssl
>         certificate) with https not ip adresses because ip addresses
>         won't match the server certificate.____
> 
>         __ __
> 
>         You might also have an issue with the ssl certificate authority
>         not being trusted by PHP (especially the PHP version included
>         with some versions of MS4W). I remember seeing something about
>         that awhile ago but I don't remember the details.____
> 
>         __ __
> 
>         On Tue, Mar 12, 2019, 10:03 Mark Volz <MarkVolz at co.lyon.mn.us
>         <mailto:MarkVolz at co.lyon.mn.us>> wrote:____
> 
>             Hello,____
> 
>             After updating my server to SSL I am having issues printing
>             maps in GeoMOOSE 2.9.3.  At this point in time I can get
>             GeoMOOSE to present a map to the end user and display the
>             background. However, I cannot see any active layers such as
>             parcels.   Please let me know if anyone has a thought as to
>             why the active layers are not printing.____
> 
>             ____
> 
>             Thanks____
> 
>             ____
> 
>             P.S.  Originally I could not get anything to work on the
>             client side after switching to SSL.  On the client side the
>             Print Map displays “Loading…”  forever.  On the server side
>             a PDF is generated in the temp folder, however only the
>             template and background map display and the active layers
>             such as parcels do not display.  I changed server_name to
>             use my ip address and port 443 so now my end users can see
>             the pdf template and background, but still not the parcel
>             layer.**As of right now the background layer will work in
>             both http and https mode.____
> 
>             ____
> 
>             Sincerely,____
> 
>             *Mark Volz, GISP*____
> 
>             *Lyon County GIS Coordinator*____
> 
>             504 Fairgrounds Rd
>             <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.google.com%2fmaps%2f%3fdaddr%3d504%2520Fairgrounds%2520Rd%2c%2520Marshall%2c%2520MN%252056258%3fz%3d6&c=E,1,mTQU2ON9bb_CVbDyOLsQN45Ad_qKRqMb9ACvXsviPg7KhQzOkcK5ZhokS5-Pkl5Bnr4U6uPs_ooih20JlUnhs5_OP6ZLU0YBhW2AlQebZWvuH23k&typo=1>____
> 
>             Marshall, MN 56258
>             <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.google.com%2fmaps%2f%3fdaddr%3d504%2520Fairgrounds%2520Rd%2c%2520Marshall%2c%2520MN%252056258%3fz%3d6&c=E,1,ILeg6P_P9-xPMxha_q3NUqoPP3v-wKwKziZ6zeIqDq4T7EUMjQo7fSnFk6mDG0v1cRWkdftL4TxcToFUC8Qh-DBkD5-Ik9X8otzuagfgsg5CgtI-RSl64xgpqT9S&typo=1>____
> 
>             Ph:  (507) 532-8218____
> 
>             Fax: (507) 532-8217____
> 
>             http://lyonco.org/
>             <https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flyonco.org%2f&c=E,1,q3lHUmLn5wM3BeiKv6cd8VmSxvoGvRnCS6wIKkmkl7-tn7RZAl_X_HDHACZIaTfrCjwwsxmBhD2hRR_vPyjb3BI5X4qZeIM9bn9bUlklh1ODjBk,&typo=1>____
> 
>             http://geomoose.lyonco.org/
>             <https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2f&c=E,1,kx97pZJ7xI0XBJpPZ46tFr4Sbvyfwi5KG9pv9GwoA6nQd9xbQDx1Ux_cAwKiGVvQ_m0wM7cMERB9tBc68RJreUQkRR40Jn3p2ovcxO_mWf0,&typo=1>____
> 
>             ____
> 
>             _______________________________________________
>             Geomoose-users mailing list
>             Geomoose-users at lists.osgeo.org
>             <mailto:Geomoose-users at lists.osgeo.org>
>             https://lists.osgeo.org/mailman/listinfo/geomoose-users
>             <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fgeomoose-users&c=E,1,7NU89jo82JmJocFfkt3wzJ7URLYdK5TXdhIBg2997LMGcDTNt4GVK8n6YkxeUX6cIQkMqbxesQScSRhSa6iB4rcAeVChI3UI07kU8Nd1bQt3MEpZRcU,&typo=1>____
> 
> 
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
> 



More information about the Geomoose-users mailing list