[Geoserver-users] Geoserver encryption problem setting up user services on postgresql

2018-01-17 Thread Olivier Dalang
Dear Lists, I'm cross-posting to geoserver-users and geonode-users as this question concerns the setup of Geoserver but the end goal is to make it work with Geonode. I'm trying to setup Geoserver to use a postgres user table from Django (the people_profile table from Geonode). I was able to make

[Geoserver-users] Fwd: Geoserver encryption problem setting up user services on postgresql

2018-01-21 Thread Olivier Dalang
Dear List, (I hope this won't be posted twice, as I sent it a few days ago but it seems the mail didn't get through) I'm trying to setup Geoserver to use a postgres user table from Django (the people_profile table from Geonode). I was able to make everything work except password encryption. To

Re: [Geoserver-users] Fwd: Geoserver encryption problem setting up user services on postgresql

2018-01-23 Thread Olivier Dalang
tian Mueller < christian.muel...@os-solutions.at> wrote: > Hi Oliver > > try > > cryptor = StandardPBEStringEncryptor() > > instead of > > cryptor = StandardPBEStringEncryptor('PBEWITHSHA256AND256BITAES-CBC') > > On Sun, Jan 21, 2018 at 10:07 PM, Olivier Dalan

Re: [Geoserver-users] CLI change of master password

2018-01-29 Thread Olivier Dalang
Dear List, I found this old thread [1] about how to change the master (root) password with CLI. There seemed to be no solution at that time. Is that still true ? Patric did you find a way to achieve it ? Thanks you !! Olivier [1] https://sourceforge.net/p/geoserver/mailman/message/32345049/

Re: [Geoserver-users] Fwd: Geoserver encryption problem setting up user services on postgresql

2018-01-29 Thread Olivier Dalang
t(dj_hash,'$',4); END; $$; CREATE OR REPLACE FUNCTION dj2gs_enabled(dj_enabled boolean) RETURNS text LANGUAGE plpgsql AS $$ BEGIN RETURN CASE WHEN dj_enabled THEN 'Y' ELSE 'N' END; END; $$; CREATE OR REPLACE VIEW users AS SELECT "username" as "name",

Re: [Geoserver-users] CLI change of master password

2018-01-29 Thread Olivier Dalang
; > You can change the master password with the REST API > > http://docs.geoserver.org/latest/en/api/#/1.0.0/security.yaml > > Cheers > > On Tue, Jan 30, 2018 at 12:00 AM, Olivier Dalang > wrote: > >> Dear List, >> >> I found this old thread [1] about ho

[Geoserver-users] Disable the root account ?

2018-01-30 Thread Olivier Dalang
Dear List, I'm currently trying to configure Geoserver for production, and would like to have a setup that is as secure as possible by disabling the root account login. Am I right understand this is not possible ? I get the idea of having a root password to encrypt the keystore, and I also get t

Re: [Geoserver-users] Disable the root account ?

2018-02-01 Thread Olivier Dalang
et the root password from an old backup, you still need to gain access to the filesystem to be able to do any harm. Cheers, Olivier On Wed, Jan 31, 2018 at 7:09 PM, Christian Mueller < christian.muel...@os-solutions.at> wrote: > Hi Olivier > > Answers inside > > On Tue, Jan 3

[Geoserver-users] Exception with WFS requests

2018-02-21 Thread Olivier Dalang
Dear List, I've got a very strange problem and can't figure out what's going on. I'm relatively new to Geoserver and to Java, so I don't really know what to do. After a server start, with WFS requests like this : http://127.0.0.1/geoserver/wfs?srsName=EPSG%3A4326&typename= geonode%3Ane_110m_popu

Re: [Geoserver-users] Exception with WFS requests

2018-02-22 Thread Olivier Dalang
Hi ! Thank you very much for your answers. I was indeed looking for a 2.12.2 build for geofence, but Andrea said it, there is no such build for community moduls. I've continued to fiddle with this, and now it works after a seemingly completely inoffensive change ?! I'm using Docker, and this is

[Geoserver-users] "Don't know how to handle resource" exception with layergroups created through REST API

2018-02-27 Thread Olivier Dalang
Dear all, Layer groups created using the REST API cause a "Don't know how to handle resource" exception (full stack below [1]) when I try to show them using WMS or when accessing the layergroup admin page. Everything works well when created manually through the admin. I need to restart Geoserver

Re: [Geoserver-users] "Don't know how to handle resource" exception with layergroups created through REST API

2018-03-04 Thread Olivier Dalang
happen when different versions are mixed. > Please make sure the plugin version matches your geoserver version. > >Cheers, >Emanuele > > 2018-02-27 23:43 GMT+01:00 Olivier Dalang : > >> Dear all, >> >> Layer groups created using the REST API cause a "

[Geoserver-users] Priting endpoint problem : geoserver/rest/printng/render.png gives a 404

2018-03-19 Thread Olivier Dalang
any information about the geoserver/rest/printng/render.png besides that old post <https://lists.osgeo.org/pipermail/geonode-devel/2016-August/001193.html>, which doesn't seem to be related (he had errors on the endpoint, but at least it was fo

Re: [Geoserver-users] Priting endpoint problem : geoserver/rest/printng/render.png gives a 404

2018-03-20 Thread Olivier Dalang
Thank you Brad ! Indeed I forgot to install the geonode extension... Kind regards, Olivier On Tue, Mar 20, 2018 at 11:42 PM, wrote: > Indeed this comes from geonode: > > https://github.com/GeoNode/geoserver-geonode-ext/tree/ > master/geoserver/extensions/printng/src/main/java/org/geoserver/