#448: remove hardcoding of http
---------------------+------------------------------------------------------
Reporter: schaubr | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.3
Component: General | Version: v2.6.2
Keywords: |
---------------------+------------------------------------------------------
In the following files, the http-protocol is hardcoded as part of the URL.
In the case that GeoNetwork is provided through HTTPS only, this behaviour
is not wanted.
Therefore I suggest that next to the URL and the port, the protocol (http
and https) is also made configurable. Of course, for compatibility
reasons, http would be default.
The following files contain the http protocol as hardcoded part of the
URL:
SettingInfo.java (line 80)
DataManager.java (line 903 and 2902)
XmlResolver.java (line 73 and 74) (in jeeves.utils)
metadata-iso19115.xsl
metadata-iso19139.xsl
header.xsl
kml.xsl
metadata-show-embedded.xsl
metadata-show.xsl
portal-sitemap.xsl
search-suggestions.xsl
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/448>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#448: remove hardcoding of http
---------------------+------------------------------------------------------
Reporter: schaubr | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: Future release
Component: General | Version: v2.6.2
Keywords: |
---------------------+------------------------------------------------------
Changes (by fxp):
* milestone: v2.6.3 => Future release
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/448#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#448: remove hardcoding of http
---------------------+------------------------------------------------------
Reporter: schaubr | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: Future release
Component: General | Version: v2.6.2
Keywords: |
---------------------+------------------------------------------------------
Comment(by josegar74):
Attached patch for trunk.
To configure https, login as administrator and in System Settings > Server
configure the protocol to https and the port to the https port.
Note that SSL certificates must be installed also in the JVM keystore. For
example, the print metadata uses java to make https requests to get
thumbnails and if not installed the certificates in JVM keystore images
can not be retrieved.
The next tutorial worked for me: http://artur.ejsmont.org/blog/content
/how-to-import-self-signed-ssl-certificate-to-java-keystore-adding-https-
certificate
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/448#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#448: remove hardcoding of http
----------------------+-----------------------------------------------------
Reporter: schaubr | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: Future release
Component: General | Version: v2.6.2
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by josegar74):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/448#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#448: remove hardcoding of http
----------------------+-----------------------------------------------------
Reporter: schaubr | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.2
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by ianwallen):
* milestone: Future release => v2.6.5
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/448#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.