Difference between revisions of "SUNScholar/Secure Internet Connections/S05"

From Libopedia
Jump to navigation Jump to search
m
m (Text replacement - "/home/dspace" to "$HOME")
Line 8: Line 8:
 
  su dspace
 
  su dspace
 
Open the DSpace config file for editing as follows:
 
Open the DSpace config file for editing as follows:
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/dspace.cfg
+
  nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/dspace.cfg
 
Go to the following section of the DSpace config file:
 
Go to the following section of the DSpace config file:
 
<pre>
 
<pre>

Revision as of 09:51, 23 January 2015

 NEXT - STEP 6

Step 5. Enable secure XMLUI logins

See: https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1960-L1963

Become the dspace user

su dspace

Open the DSpace config file for editing as follows:

nano $HOME/source/dspace/config/dspace.cfg

Go to the following section of the DSpace config file:

# Force all authenticated connections to use SSL, only non-authenticated
# connections are allowed over plain http. If set to true, then you need to
# ensure that the 'dspace.hostname' parameter is set to the correctly.
xmlui.force.ssl = true

Enable logins by changing "xmlui.force.ssl" to true.


NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)