The default behavior for SSL validation in Open Client and Open Server is to compare the common name in the server’s certificate with the server name specified by ct_connect(). In a shared disk cluster (SDC) environment, a client may specify the SSL certificate common name independent of the server name or the SDC instance name. A client may connect to an SDC by its cluster name—which represents multiple server instances—or to a specific server instance.
Open Client and Open Server supports common name validation in an SDC environment. This allows the Adaptive Server SSL certificate common name to be different from the server or cluster name by allowing the client to use the transport address to specify the common name used in the certificate validation. The transport address can be specified in one of the directory services like the interfaces file, LDAP or NT registry, or through the connection property CS_SERVERADDR.
This is the syntax of the server entries for the SSL-enabled Adaptive Server and cluster for Microsoft Windows:
[CLUSTERSSL] query=tcp,hostname1,5000, ssl="CN=name1" query=tcp,hostname2,5000, ssl="CN=name2" query=tcp,hostname3,5000, ssl="CN=name3" query=tcp,hostname4,5000, ssl="CN=name4" [ASESSL1] master=tcp,hostname1,5000, ssl="CN=name1" query=tcp,hostname1,5000, ssl="CN=name1" [ASESSL2] master=tcp,hostname2,5000, ssl="CN=name2" query=tcp,hostname2,5000, ssl="CN=name2" [ASESSL3] master=tcp,hostname3,5000, ssl="CN=name3" query=tcp,hostname3,5000, ssl"CN=name3" [ASESSL4] master=tcp,hostname4,5000, ssl="CN=name4" query=tcp,hostname4,5000, ssl="CN=name4"