Cisco Headend Digital Broadband Delivery System

Pagina di 148
 
Chapter 7    DNCS Web Services Security 
 
 
 
102 
4034689 Rev A 
root 21589     1   0 14:09:58 ?     0:00 
/usr/apache2/bin/httpd -f /etc/apache2/httpd-dncsws/httpd.conf 
-k start -DSSL
 
root 27663 19973   0 14:28:06 pts/2 0:00 grep httpd
 
nobody 21593 21589   0 14:09:59 ?   0:00 
/usr/apache2/bin/httpd -f /etc/apache2/httpd-dncsws/httpd.conf 
-k start -DSSL
 
4  Type the following command and press Enter
lsof -i :443 
 
Example: Output should look similar to the following example, but the Name 
column will vary, based on your specific configuration: 
COMMAND   PID   USER   FD   TYPE        DEVICE SIZE/OFF NODE 
NAME
 
httpd   21589   root  257u  IPv4 0x60019fa8340      0t0  TCP 
ossbss:443 (LISTEN)
 
httpd   21593 nobody  257u  IPv4 0x60019fa8340      0t0  TCP 
ossbss:443 (LISTEN)
 
httpd   21594 nobody  257u  IPv4 0x60019fa8340      0t0  TCP 
ossbss:443 (LISTEN)
 
httpd   21610   root  259u  IPv4 0x60019f6d540      0t0  TCP 
localhost:443 (LISTEN)
 
httpd   21614   dncs  259u  IPv4 0x60019f6d540      0t0  TCP 
localhost:443 (LISTEN)
 
httpd   21615   dncs  259u  IPv4 0x60019f6d540      0t0  TCP 
localhost:443 (LISTEN)
 
Did the output in step 3 include "-DSSL", AND did the output from step 4 
include listen entries for the interface used in the Define the Web Service 
Interface for HTTPS Support Only
 (on page 59) ? 
 
If yes, go to step 6. 
 
If no, complete these steps. 
a  Type the following command and press Enter to stop the http process: 
svcadm -v disable -st http
 
b  Type the following command and press Enter to refresh the http process: 
svcadm refresh http
 
c  Type the following command and press Enter to restart the http process: 
svcadm -v enable -s http
 
Result: The system displays the svc:/network/http:apache2 enabled 
message. 
d  Type the following command and press Enter to stop the http-dncsws 
process: 
svcadm -v disable -st http-dncsws