Skip to content
Ask AI

Controller Deployment Environment Preparation

Recommended deployment environment:X86 sever Linux Version: Ubuntu 18.04 LTS or later Docker Version: 20 or late

Device NumberCPUMemoryDisk
5004U8G500GB
10008U16G1000GB
20008U16G1500GB
500016U32G2000GB

Open the business port

Deploying an ACC controller on a cloud host requires opening some business ports, with the following ports and their purposes:

Network TypeAuthorization Direction PolicyAuthorization ProtocolIPPort Range Address RangePrioritySource IPDescribe
intranetingressAcceptTCP16011/1601110.0.0.0/0owom (operation and maintenance alarm) external HTPPS service port (component under development, not yet released)
intranetingressAcceptTCP16006/1600610.0.0.0/00wsub (subscription) external HTTPS service port
intranetingressAcceptTCP15002/1500210.0.0.0/0owgw Southbound Interface, Device Connection Controller Service Port
intranetingressAcceptTCP16002/1600310.0.0.0/0owgw (Gateway) external HTTPS service port
intranetingressAcceptTCP16004/1600410.0.0.0/0owfms (Firmware) external HTTPS service port
intranetingressAcceptTCP16009/1600910.0.0.0/0owanalytics (analysis) external HTTPS service port
intranetingressAcceptTCP16005/1600510.0.0.0/0owprov (configuration) external HTTPS service port
intranetingressAcceptTCP16001/1600110.0.0.0/0owsec (Authentication) external HTTPS service port
intranetingressAcceptTCP5912/191310.0.0.0/0owgw service, RTTY remote connection function
intranetingressAcceptTCP443/4431000.0.0.0/0owgw-ui (WEBUI) external service port
intranetingressAcceptTCP22/221000.0.0.0/0System created rule.SSH port

Generate certificate

Assuming the domain name is: cloudswitch.io Apply for a certificate on the cloud server using Let’s Encrypt’sofficial tool, Certbot:

sudo apt install certbot certbot certonly —standalone -d cloudswitch.io —key-type rsa

The new certificate is located at:/etc/letsencrypt/live/cloudswitch.io Introduction to Certificate File Generation by Certbot:

  • privkey.pem Server private key file. Used for encrypting and decrypting SSL communication, it can only be held by the server and must be strictly kept confidential.
  • fullchain.pem Complete certificate chain file. Contains your server certificate and all intermediate CA certificates, typically used for configuring SSL_certificate for web servers such as nginx and Apache.
  • chain.pem Only includes intermediate CA certificates. Used for client verification of the legitimacy of your server certificate, some services (such as nginx’s OCSP sampling) require separate configuration.
  • cert.pem Only includes your server certificate (excluding intermediate certificates). It is generally not recommended to use it alone, as it can lead to incomplete certificate chains and inability for clients to verify.

Practical usage suggestions: -Web services typically use fullchain.exe and privkey.exe. -Chain.Pem is used in scenarios where a separate CA chain is required. -It is not recommended to use Cert.Pem directly unless there are special requirements.

Copy the certificate to the controller directory

Terminal window
cd /etc/letsencrypt/live/cloudswitch.io
sudo cp -L cert.pem /path-to-ACC-controller/controller_V1.0_R005/wlan-cloud-ucentral-deploy/docker-compose/certs/restapi-cert.pem
sudo cp -L privkey.pem /path-to-ACC-controller/controller_V1.0_R005/wlan-cloud-ucentral-deploy/docker-compose/certs/restapi-key.pem
sudo cp -L chain.pem /path-to-ACC-controller/controller_V1.0_R005/wlan-cloud-ucentral-deploy/docker-compose/certs/restapi-ca.pem