Apache Upgrade For Content Server
Apache Upgrade For Content Server
Apache Upgrade For Content Server
Apache Installation.........................................................................................................................................1
Creating Certificate Requests.........................................................................................................................5
Apache Installation
1. Verify the content server is working by using CSADMIN.
2. Verify offline backup successful.
3. Ensure there is an ANSI C compiler installed. Type “gcc -v”.
As root:
root@r3csdbq1:/root> gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-
ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware
--enable-threads --enable-version-specific-runtime-libs --host=powerpc-
ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-
aix5.3.0.0 --disable-libjava-multilib
Thread model: aix
gcc version 4.2.0
root@r3csdbq1:/root> which gcc
/usr/bin/gcc
root@r3csdbq1:/root>
4. Become root. Default umask must be 022.
5. Verify .cshrc for sidadm and sqdsid to include. :
As root :
cd /usr/CQB/apache
tar -xvf /admdata/sapcd/cs640/httpd-2.0.63.tar
Install Apache
unset CFLAGS EXTRA_LDFLAGS_SHLIB OBJECT_MODE
unset LDFLAGS LIBPATH LIBS LD_LIBRARY_PATH
export CC="gcc -maix64"
export PERL=/usr/opt/perl5/bin/perl
export LD_LIBRARY_PATH=/opt/pware64/lib
export LIBS="-L/opt/pware64"
export LIBPATH=/opt/pware64/lib
export CPPFLAGS="-I/opt/pware64/include/openssl"
export OBJECT_MODE=64
cd /usr/CQB/apache/httpd-2.*
chmod -R 777 *
/usr/sbin/slibclean
make
make install
<Location /sapcs>
SetHandler sapcs_module
Allow from all
</Location>
<Location /ContentServer/ContentServer.dll>
SetHandler sapcs_module
Allow from all
</Location>
<Location /contentserver/contentserver.dll>
SetHandler sapcs_module
Allow from all
</Location>
</IfModule>
18. As sidadm start Apache with the command: /usr/apache/bin/apachectl start
19. Verify Apache is started, check files in /usr/apache/logs if errors.
% ps -ef|grep apa
csqadm 180324 1 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
csqadm 274432 180324 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
csqadm 299244 180324 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
csqadm 397552 180324 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
csqadm 405642 180324 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
csqadm 413898 180324 0 12:28:09 - 0:00 /usr/apache/bin/httpd -k start
20. Check website http://r3csdbq1.sempra.com:1090/ This should return the following in your browser.
If you can see this, it means that the installation of the Apache web server software on this system
was successful. You may now add content to this directory and replace this page.
https://r3csdbq1.sempra.com:1091/index.html.en
21. Change OAC0 settings by using %HTTPS. Change HTTPS fields to “”HTTPS Required”
and enter the SSL port.
22. Only SSL Server and SSL Client (Standard) need to have non-self sign certificates. Import the
Content Server certificate that has been signed by Sempra and installed into Apache into both PSE’s.
The certs are located at S:\BASIS\_mtettenb\Certificates.
Double Click the entry under SSL Server.
Click “Import Certificate”
Find the appropriate .crt file and select the Base64 radio button and click check. Or select
the *.cer file and select Binary.
Repeat for SSL Client Standard and the certificates should be added as below:
23. You must bounce the server after installing the certificate.
24. After SAP is up, you should be able to connect using CSADMIN or OAC0.