How to start apache in SSL mode
- Article Type: General
- Product: Aleph
- Product Version: 20
Desired Outcome Goal:
Encrypting the messages between the browser and the apache server for security reason
Procedure:
1. Put the certificates to the $httpd_root/SSLconf/conf
2. In file $alephe_root/www_server.conf - be sure following definitions are correct:
setenv server_httpsd "https://<IP>:443"
setenv server_css_ssl "https://<IP>:443"
3. Edit $alephe_root/apache/conf/ssl.conf and correct the ssl keys+certificate file locations.
4. Edit $alephe_root/apache/bin/apachectl and add to the HTTPD command –DSSL
5. In $alephe_root/apache/bin/apachectl_auto:
Replace
$httpd_bin/httpd -d $httpd_root
with
$httpd_bin/httpd -d $httpd_root -DSSL
6. In the file $alephe_root/www_f_eng/login Replace <form method=post
name="form1"
action="&server_f">
with
<form method=post
name="form1"
action="&server_f_ssl">
<input type="hidden" name="ssl_flag" value="Y">
and replace
<input type="hidden" name="func" value="login">
with
<input type="hidden" name="login_source" value="$0100">
7. In the $alephe_root/www_f_eng/login-session file Replace the:
<form method=post
name="form1"
action="&server_f">
With the :
<form method=post
name="form1"
action="&server_f_ssl">
<input type="hidden" name="ssl_flag" value="Y">
8. restart apache (as root) by running $alephe_root/apache/bin/apachectl_auto
9. restart www_server by using util w/3/1
Category: Web OPAC (500)
Subject: Web server (500)
- Article last edited: 10/8/2013