Difference: WebDownload3 (17 vs. 18)

Revision 182012-02-02 - AndreaCristofori

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

NEW Installation for emi-WMS/LB, WMSMonitor 3.0

Line: 116 to 116
 
  1. $> wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo -O /etc/yum.repos.d/egi-trustanchors.repo
  2. $> yum install ca-policy-egi-core
Changed:
<
<
Edit the /etc/httpd/conf/httpd.conf and add the following inside the <Directory /var/www/html> section the following lines :

>
>
Edit the /etc/httpd/conf/httpd.conf and add the following at the end of the configuration (please modify according to your hostname where you find HOST.NAME.SOMETHING):

<Directory "/var/www/html">

    Options FollowSymLinks

    AllowOverride None

    Allow from all
  SSLRequireSSL
Deleted:
<
<

  SSLVerifyClient require
Deleted:
<
<

  SSLVerifyDepth 10
Changed:
<
<
>
>
 
Deleted:
<
<
Edit the /etc/httpd/conf.d/ssl.conf and:
 
Changed:
<
<
- set the SSLCertificateFile variable to HOST_CERTIFICATE_DIR/hostcert.pem and comment any other line that set this variable.
>
>
ServerName HOST.NAME.SOMETHING DocumentRoot /var/www/html/wmsmon RewriteEngine On RewriteCond %{HTTPS} =on # RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 <https://%{server_name}/$1>[L,R,NC] RewriteRule ^/(.*) https://HOST.NAME.SOMETHING/$1
 
Deleted:
<
<
- set the SSLCertificateKeyFile variable to HOST_CERTIFICATE_DIR/hostkey.pem and comment any other line that set this variable. _ _
 
Deleted:
<
<
- set the SSLCACertificatePath variable to the name of the directory containing the CA file (i.e. /etc/grid-security/certificates if you installed the lcg_CA metapackage) and comment any other line that set this variable.
 
Changed:
<
<
\If you want to change the default https port (443) you should change in the /etc/httpd/conf.d/ssl.conf file the line:
Listen <port_number> (i.e. Listen 8443)
>
>
Edit the /etc/httpd/conf.d/ssl.conf and:
 
Changed:
<
<
_Oprtional redirect - If you want to automatically redirect http requests to https pages you should add to the /etc/httpd/conf/httpd.conf file the following section (using the proper values for the variables_ SERVER_HOST_IP,SERVER_HOST_NAME and YOUR_DOMAIN):
<VirtualHost SERVER_HOST_IP:80>
   DocumentRoot /var/www/html
   ServerName SERVER_HOST_NAME.YOUR_DOMAIN
   RedirectMatch (/.*)$ https://SERVER_HOST_NAME.YOUR_DOMAIN/$1
</VirtualHost>

>
>
- set the SSLCertificateFile variable to HOST_CERTIFICATE_DIR/hostcert.pem and comment any other line that set this variable.
 
Changed:
<
<
>
>
- set the SSLCertificateKeyFile variable to HOST_CERTIFICATE_DIR/hostkey.pem and comment any other line that set this variable.
 
Changed:
<
<
  1. $> service httpd restart
>
>
- set the SSLCACertificatePath variable to the name of the directory containing the CA file (i.e. /etc/grid-security/certificates if you installed the ca-policy-egi-core metapackage) and comment any other line that set this variable.

  1. $> restart Apache
      service httpd restart
 
Deleted:
<
<
  </>
<--/twistyPlugin-->
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback