LAB‎ > ‎Device Configs‎ > ‎

Physical Security

CPAM - Disable HTTP:

To disable http access we will have to edit one of the configuration files in cpam. Here is what you would need to do.
Ssh into the cpam server
sudo su
Enter the cpamadmin password
/etc/init.d/cpamadmin stop
comment out a configuration from the file /opt/cisco/cpam/apache-tomcat/conf/server.xml. 

Remove or comment the snippet below.

    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000" 
               redirectPort="8443" />

/etc/init.d/cpamadmin start
When you try to launch the Web UI using http.. you will see page cannot be displayed.







Comments