Thursday, August 1, 2019

SSL configuration for HTTP server

I did below for one of my customer, mentioned high level steps:

1) Install Oracle HTTP Server on Sun Solaris
   HTTP Server 12.1.2 version
2) After Installation we have configured it using config.sh

3) After config.sh started NodeManager and OHS

4) Configured ssl.conf and httpd.conf files.

5) Copy Image files from Oracle_Home/Apex/Images to Http_server_home/Images.


Issue was library files missing so http server didnt came up on Production whereas it was up on Test server:
Below was issue:

$ cd /usr/lib
$ ls -ltr libcrypt_d.so.1
libcrypt_d.so.1: No such file or directory
$ cd /usr/lib/sparcv9/
$ ls -ltr libcrypt_d.so.1
libcrypt_d.so.1: No such file or directory

root@app1 # cd /usr/lib/sparcv9/
root@app1 # ls -ltr libcrypt_d.so.1
-rwxr-xr-x   1 root     bin        49328 May 16  2007 libcrypt_d.so.1
root@app1 # scp libcrypt_d.so.1  root@172.16.10.16:/usr/lib/sparv9/
Password:
scp: /usr/lib/sparv9/: Not a directory
root@app1 # scp libcrypt_d.so.1  root@172.16.10.16:/usr/lib/sparv9
Password:

root@app1 # scp libcrypt_d.so.1  root@172.16.10.16:/usr/lib/sparcv9/