PubMan 7 7 bugfix

= PubMan 7.7 Bugfix Release =

Coreservice Apache

 * adapt coreservice to https protocol

Coreservice JBoss

 * modify to https in escidoc-core.properties und escidoc-core.custom.properties

escidoc-core.baseurl = https://coreservice.mpdl.mpg.de
 * 1) Base URL of the eSciDoc Infrastructure, typically
 * 2) the host name of the machine the servlet container
 * 3) is running, and the port on which the servlet
 * 4) container listens for incoming HTTP requests


 * modify to https in escidoc-core.properties

# admin-tool.url = /AdminTool?escidocurl=https://coreservice.mpdl.mpg.de
 * 1) URL that points to the Admin Tool (used in welcome page)


 * add new category to jboss-log4j.xml

  


 * replace escidoc-core.ear and fedoragsearch.war in WILDFLY_HOME/../deploy from /home/siedersleben/pubman-7.7.4-bugfix

PubMan Properties

 * add property (file footer.txt already extsts in ../main

escidoc.pubman.footer.fileName=footer.txt
 * 1) file name of html snippet which should be included in footer of every PubMan page, e.g. for Piwik


 * adapt to https:

escidoc.framework_access.login.url=https://coreservice.mpdl.mpg.de
 * 1) URL of the escidoc-core instance you like to logon to

Apache Config
SSLEngine on      SSLCipherSuite HIGH:MEDIUM # Your signed server certificate SSLCertificateFile /etc/apache2/ssl.crt/ssl.crt SSLCertificateChainFile /etc/apache2/ssl.crt/ca.crt # Your private key for encryption SSLCertificateKeyFile /etc/apache2/ssl.key/ssl.key # The CA's      SSLCACertificateFile /etc/apache2/ssl.crt/ca.crt # Force SSLv3 and TLSv1 Only! SSLProtocol all -SSLv2  SSLOptions +StdEnvVars  SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0

listen.conf
Listen 443 NameVirtualHost *:443

PubMan PidCache

 * correct missing component pids

AA
siehe CoNE

CoNE
new property in cone.properties und auth.properties (already prepared)

escidoc.aa.client.logout.class=de.mpg.escidoc.services.aa.web.client.EscidocAaLogoutClient

adapt to https in cone.properties und auth.properties

escidoc.framework_access.framework.url=https://coreservice.mpdl.mpg.de escidoc.framework_access.login.url=https://coreservice.mpdl.mpg.de
 * 1) URL of the eSciDoc infrastructure instance (only for eSciDoc authentication)
 * 1) URL of the escidoc-core instance you like to logon to (only for eSciDoc authentication)

Results-Table needs to be recreated

eSciDoc Admin

 * adapt to https protocol

in .../prod.cfg new property framework.host_scheme, remove port from framework.host framework.host="coreservice.mpdl.mpg.de" framework.host_scheme="https"
 * 1) this is the Hostname:Port of the framework to be administered

in .../lib/util.py def get_login_url(target=None): login_url = "%s://%s%s" % (config.get('framework.host_scheme'), config.get('framework.host'), client.LOGIN_PATH) if target: login_url = "%s?%s" % (login_url, urllib.urlencode(dict(target=target))) return login_url