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

From Libopedia
Jump to navigation Jump to search
(Created page with "<center> '''Back to Secure Communications''' </center>")
 
m
Line 2: Line 2:
 
  '''[[SUNScholar/Secure Internet Connections|Back to Secure Communications]]'''
 
  '''[[SUNScholar/Secure Internet Connections|Back to Secure Communications]]'''
 
</center>
 
</center>
 +
==Step 5. Enable secure XMLUI logins==
 +
Become the dspace user
 +
su dspace
 +
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
 +
Go to the following section of the DSpace config file:
 +
<pre>
 +
# 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
 +
</pre>
 +
Enable logins by changing "xmlui.force.ssl" to true.
 +
 +
{{NANO}}

Revision as of 21:32, 29 December 2014

Back to Secure Communications

Step 5. Enable secure XMLUI logins

Become the dspace user

su dspace

Open the DSpace config file for editing as follows:

nano /home/dspace/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)