Fabio
2017-05-08 16:07:26 UTC
Hi,
we're testing the adoption of standalone GeoFence (3.3.0) in order to
manage security of our GeoServers.
Problem is that when I try to register our GeoServer instance, an error
is thrown when "Test" button is pressed. Setting logs to debug, I can
see the attached error.
Our GeoServer (v 2.10) is hosted on a tomcat7 behind an nginx proxy, and
https->https redirection is in place. The certificate is a let'sencrypt one.
GeoFence runs on a tomcat7, java version "1.8.0_121".
I tested the same code (copied getURL from
https://github.com/geoserver/geofence/blob/v3.3.0/src/gui/core/plugin/userui/src/main/java/org/geoserver/geofence/gui/server/service/impl/InstancesManagerServiceImpl.java
) in another webapp I created and deployed on the same tomcat7 of
GeoFence, and the output seems correctly retrieved. These are the
parameters :
URL
https://geoserver1-spatial-dev.d4science.org/geoserver/rest/geofence/info
USER admin
PWD geoserver
Since the jre seems to recognize the certificate (my test successfully
connects a retrieve content), my guess is that some other configuration
might be needed.
Thanks a lot for your help,
Fabio Sinibaldi
--
--- --- --- ---
Fabio Sinibaldi
CNR Istituto di Scienza e Tecnologie dell' Informazione A. Faedo
Area della Ricerca CNR
InfraScience Group http://nemis.isti.cnr.it/groups/infrascience
Via G. Moruzzi, 1 â 56124 Pisa, Italy
Skype fabioisti
https://it.linkedin.com/in/fabio-sinibaldi-18779a18
--- --- --- ---
we're testing the adoption of standalone GeoFence (3.3.0) in order to
manage security of our GeoServers.
Problem is that when I try to register our GeoServer instance, an error
is thrown when "Test" button is pressed. Setting logs to debug, I can
see the attached error.
Our GeoServer (v 2.10) is hosted on a tomcat7 behind an nginx proxy, and
https->https redirection is in place. The certificate is a let'sencrypt one.
GeoFence runs on a tomcat7, java version "1.8.0_121".
I tested the same code (copied getURL from
https://github.com/geoserver/geofence/blob/v3.3.0/src/gui/core/plugin/userui/src/main/java/org/geoserver/geofence/gui/server/service/impl/InstancesManagerServiceImpl.java
) in another webapp I created and deployed on the same tomcat7 of
GeoFence, and the output seems correctly retrieved. These are the
parameters :
URL
https://geoserver1-spatial-dev.d4science.org/geoserver/rest/geofence/info
USER admin
PWD geoserver
Since the jre seems to recognize the certificate (my test successfully
connects a retrieve content), my guess is that some other configuration
might be needed.
Thanks a lot for your help,
Fabio Sinibaldi
--
--- --- --- ---
Fabio Sinibaldi
CNR Istituto di Scienza e Tecnologie dell' Informazione A. Faedo
Area della Ricerca CNR
InfraScience Group http://nemis.isti.cnr.it/groups/infrascience
Via G. Moruzzi, 1 â 56124 Pisa, Italy
Skype fabioisti
https://it.linkedin.com/in/fabio-sinibaldi-18779a18
--- --- --- ---