SSL적용된 아파치 재시작시 비밀번호 자동으로 입력되게 하기

1. vi /etc/httpd/conf/SSL/httpdpass.sh




 #!/bin/sh
echo
‘SSL 비밀번호’
:wq

2. chmod 755 /etc/httpd/conf/SSL/httpdpass.sh

3. vi ssl.conf
SSLPassPhraseDialog  exec:/etc/httpd/conf/SSL/highpass.sh

PHP 컴파일

아파치 worker 컴파일하면서 같이 진행한 php 컴파일입니다.





 #!/bin/sh
#####################################
# Build Configure
#buildconf: autoconf version 2.13 (ok)
#buildconf: automake version 1.5 (ok)
#buildconf: libtool version 1.4.3 (ok)
#####################################
#rm configure
#rm buildmk.stamp
#./buildconf
#./configure –help | grep xecure
#./configure –help | grep sso


#####################################
# Clean
#####################################
rm config.cache
make clean
make -dist clean


#####################################
# Confiugre Make Make Install(DSO)
#####################################
./configure \
–with-apxs2=/usr/local/apache2/bin/apxs \
–with-mysql=/usr/bin \
–with-libdir=lib64 \
–with-freetype-dir \
–with-zlib-dir \
–with-jpeg-dir \
–with-gd \
–with-openssl \
–with-mime-magic \
–with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client64/lib \
–with-config-file-path=/usr/apache2/conf \
–disable-debug \
–with-xml \
–enable-soap \
–enable-sockets \
–enable-mbstring \
–enable-bcmath \


make
make install