Cisco Headend Digital Broadband Delivery System

Page of 148
 
 
 
Allow HTTP Access to the Web Services 
 
4034689 Rev A 
65 
 
8  Follow these instructions to restart the DNCS http-dncsws process. 
a  Type the following command and press Enter to stop the http-dncsws 
process: 
svcadm -v disable -st http-dncsws
 
b  Type the following command and press Enter to refresh the http-dncsws 
process: 
svcadm refresh http-dncsws
 
c  Type the following command and press Enter to restart the http-dncsws 
process: 
svcadm -v enable -s http-dncsws
 
Result: The system displays the svc:/network/http-dncsws:apache2-dncsws 
enabled
 message. 
 
Create Client Authorization Username and Password for the STB Staging Web 
Service 
The DNCS STB Staging Web Service does not use basic username and password 
authentication by default. 
When basic username and password authentication is implemented, the STB Staging 
Web Service requires an accurate username and password from the STB Staging 
client. If basic username and password authentication is desired for STB Staging 
transactions, then complete the following steps to create a username and password 
for the STB Staging Web Service. Skip this section if basic authentication is not 
required. 
Notes: 
 
We do NOT recommend implementing basic authentication without HTTPS. The 
credentials (username and password) are transported over HTTP in the clear. 
 
Groups of usernames can be used to grant access to the STB Staging web service 
if a large number of usernames will be created. See the /etc/apache2/user-
conf/SAIdncs.loadPIMS.auth.conf file on the DNCS for implementation details. 
1  Type the following command and press Enter to create a new username and 
password for the STB Staging web service access on the DNCS: 
/usr/apache2/bin/htpasswd -b /etc/apache2/user-conf/httpd-
dncsws.users [username] [password]
 
Notes: 
 
This is one single command. 
 
Replace [username] [password] with the username and password. 
Example: 
/usr/apache2/bin/htpasswd -b /etc/apache2/user-conf/httpd-
dncsws.users dtaom dtaomPwd