Unable to replace the default SSL certificate with custom certificate using DSE (VCD DSM UI) for the database instances.
However, the custom certificate can be replaced by logging into DSM UI directly.
VMware DSM 2.2.1
VMware vCloud Director
This is a limitation from VCD/DSE at this point of time and not supported.
There is no solution for this issue to replace the certificate from UI. However, the below workaround can be used to deploy database with custom certificate.
In the DSE tenant UI, when create new DSM Postgres or MySQL instance, at the last step (manifest), we can set the configuration of the custom certificate and DNS names in the YAML editor.
ca.crt, tls.crt and tls.key for custom certificate.spec.dnsNamesspec.tls.secretName.Example as below: mysql instance example with custom certificate.
```apiVersion: databases.dataservices.vmware.com/v1alpha1kind: MySQLClusterspec:members: 1version: "8.0.40+vmware.v9.0.1.0"vmClass:name: "small"storageSpace: "60Gi"infrastructurePolicy:name: "infra-policy-2"storagePolicyName: "vSAN Default Storage Policy"adminUsername: "mysql-admin"databaseName: "test"maintenanceWindow:duration: 6h0m0sstartDay: SATURDAYstartTime: "23:59"dnsNames:- example.comtls:secretName: test-ms-cert-tls-cert---apiVersion: v1stringData:ca.crt: |.....tls.crt: |...tls.key: |...kind: Secretmetadata:name: test-ms-cert-tls-certtype: kubernetes.io/tls
Reference screenshot for the yaml edit.