Symptoms
In Horizon Cloud Next-Gen Universal Console, after Edge Gateway for Horizon 8 POD is successfully deployed and connected, the administrator starts to configure the Connection Server association in Horizon Universal Console and receives an error message:
"Unable to update Connection Server for the provider for the following reasons:Invalid command output from View CS"This error message is thrown despite all the requirements, connection details and credentials being correct.In addition, in the Edge Gateway logs a log snippet like this can be found:
private String extractCN(X509Certificate cert) throws CertificateEncodingException {
X500Name x500name = new JcaX509CertificateHolder(cert).getSubject();
RDN cn = x500name.getRDNs(BCStyle.CN)[0];
return IETFUtils.valueToString(cn.getFirst().getValue());
}
To confirm if the log snippet is present, follow this KB article to obtain Edge Gateway logs:Troubleshooting Horizon 8 Edge Connectivity Issues (92056)
Cause
This happens when the Connection Server x.509 certificate (vdm) does not have a Common Name attribute (CN).
Resolution
Currently no resolution is available. Subscribe to this article to receive updates.
Workaround
Replace the Connection Server certificate with new one containing the Common Name attribute.
Related Information
As far as X.509 is concerned, the Common Name is not mandatory. However, a number of systems will use the CN for display purposes, e.g. most "certificate manager" GUI in Windows. Therefore, it is recommended, if only for ease of sysadmin tasks, to include reasonably precise CN in certificates.