Issue
Product Line
EcoStruxure Building Operation
Environment
- EcoStruxure Building Operation server
- Building Operation Device Administrator
Cause
When using self-signed SSL/TLS certificates managed with Device Administrator, client validation checks the Subject Alternative Name (SAN) entries in the server certificate.
- If clients connect by IP address, the SAN must include that IP.
- If clients connect by DNS hostname, the SAN must include the hostname.
Certificates missing the identifier used by clients will fail validation. Additionally, self-signed certificates require clients to trust the issuing root certificate.
Resolution
-
Is the IP address mandatory in the SSL Certificate?
No. It is not strictly required.- Recommended: Include the DNS hostname (e.g.,
My_Server) in the SAN.SSL Certificate dialog box
- Optional: Include the IP address if clients are known to connect using IP rather than hostname.
Certificates with (left) and without (right)DNS set
- Recommended: Include the DNS hostname (e.g.,
-
Why hostname is preferred:
Hostname-based SAN entries are resilient to IP changes. As long as DNS resolves the hostname to the current IP, the certificate remains valid. -
What happens if the SmartX server’s IP address changes?
- If SAN only contains the old IP and clients connect via IP, TLS validation fails, and clients cannot connect.
- If SAN contains the DNS hostname and clients connect via hostname, the certificate remains valid after IP changes, provided DNS is updated.
-
Self-signed consideration:
Ensure all clients trust the self-signed root certificate. This requirement is independent of SAN content.