SSL_CERT and SSL_KEY environment variables to the paths of your certificate and private key files. If either variable is omitted, that service will use plain HTTP.
Certificate and key variables
| Service | Certificate variable | Key variable |
|---|---|---|
| CWMP | GENIEACS_CWMP_SSL_CERT | GENIEACS_CWMP_SSL_KEY |
| NBI | GENIEACS_NBI_SSL_CERT | GENIEACS_NBI_SSL_KEY |
| FS | GENIEACS_FS_SSL_CERT | GENIEACS_FS_SSL_KEY |
| UI | GENIEACS_UI_SSL_CERT | GENIEACS_UI_SSL_KEY |
Generating a certificate
Generate a self-signed certificate
For testing purposes, you can generate a self-signed certificate with
openssl:Self-signed certificates are suitable for development and testing only. CPE devices or browsers will reject them unless you explicitly trust the certificate. Use a certificate from a trusted CA in production.
Place certificate files in a secure location
Copy the certificate and key to a location accessible by the GenieACS process:
Configure the environment variables
Add the certificate paths to your You can share the same certificate across all services, or use separate certificates per service.
genieacs.env file:Configuring specific services
You do not need to enable TLS on every service. For example, if NBI and FS are only accessible on a private network, you might enable TLS only for CWMP and UI:File server URL prefix
Whengenieacs-fs is behind a reverse proxy, or when it runs on a different server from genieacs-cwmp, the URL embedded in TR-069 Download requests may not reflect the publicly reachable address. Use GENIEACS_FS_URL_PREFIX to set the correct base URL explicitly:
FS_PORT, and whether SSL is enabled for the FS service.