Network-Level Security Guidelines for Production Deployment¶
This section provides the list of network-level security guidelines that are recommended for your production environment.
When WSO2 Identity Server is clustered, you need to regularly monitor the health of your server instances. For example, you need to monitor resource-level factors such as the server's resource utilization, response time anomalies, and the number of incoming network connections. Server monitoring will help you identify when additional server instances (failover instances) are required. You can also make decisions about network routing changes that you need to do in order to avoid server downtime.
Make sure to maintain and monitor logs for your proxy servers, load balancers, and other network devices.
Open ports and services¶
Periodically check for open ports using port scanning tools and make sure that only the necessary ports are open to both internal and external networks. Make sure that only the ports relevant to your WSO2 products are open for communication. If there are other ports started, be sure to monitor them.
For a full list of WSO2 Identity Server default ports, Default Ports of WSO2 Identity Server.
All your network devices should be periodically checked for anomalies. For example, you need to verify routing tables and firewall rules. Also, make sure that the default credentials are changed before the first use of those devices.
Firmware updates for your network devices should be applied regularly.
Access to the
/carbon contexts should be blocked from the DMZ level, i.e., from the proxy server, load balancer, and/or firewall.
/servicescontext is used in WSO2 Identity Server to expose admin services. These admin services are used for performing administrative operations using SOAP requests.
/carboncontext is used in WSO2 Identity Server to expose the Management Console. The Management Console is a user interface for performing some of the administrative operations of a product.
In addition to the
/carboncontexts, be sure to expose only the required applications in your product to users beyond the DMZ level in your network.
It is recommended to use an allowlisting approach when allowing access to resources in your product from the DMZ level.