A browser does not trust a self-signed certificate. You must manually configure certificate trust in the browser.
Notice Google Chrome does not trust a self-signed certificate. After you complete the certificate trust configuration, you will receive a message indicating that the connection is not secure.
Configure certificate trust in Windows
Google Chrome is used as an example to describe the certificate trust configuration procedure.
Log on to ODC in Chrome. When the system prompts that the connection is not secure, click Not Secure on the left side of the address bar and click Certificate in the list that appears to view the certificate details.

In the Certificate window that appears, click the Details tab and click Copy to File in the lower-right corner of the tab.

In the Certificate Export Wizard step, click Next .
In the file export format setting step, select DER encoded binary X.509 (CER) and click Next .
In the file path selection step, click Browse . In the file resource manager window, select an export path, enter a file name in the File Name field, and click Save to go back to the Certificate Export Wizard step. Then, click Next .
In the Completing the Certificate Export Wizard step, click Finish in the lower-right corner to export the file to a local device.
Find the certificate file in the path specified in Step 5, right-click the certificate file, and then select Install Certificate from the context menu that appears.
In the Certificate Import Wizard window, click Next .
In the Certificate Store step, select Place all certificates in the following store and click Browse . In the Select Certificate Store window, select Trusted Root Certification Authorities and click OK . In the Certificate Store step, click Next .
In the Completing the Certificate Export Wizard step, click Finish in the lower-right corner.
After the certificate trust configuration is completed, log on to ODC again in the browser.
Configure certificate trust in macOS
Google Chrome is used as an example to describe the certificate trust configuration procedure.
Log on to ODC in Chrome. When the system prompts that the connection is not secure, click Not Secure on the left side of the address bar and click Certificate in the list that appears to view the certificate details.

Details of the certificate are displayed.

Create a file with the extension of .cer, copy the certificate details to this file, and save the file.

In macOS, choose Applications > Utilities > Keychain Access . The Keychain Access window appears. In the left-side navigation pane, click System and click the plus sign (+) in the quick access toolbar. In the window that appears, select the certificate file that is created in the previous step to add the certificate into the system.

Double-click the odc.oceanbase.com,odc.oceanbse.net certificate. In the certificate details window that appears, click Trust . In the configuration list that appears, set When using this certificate to Always Trust .

Close the certificate details window. When you try to close the window, the system reminds you to enter a password to make the configuration take effect. Enter the password to finish the configuration.
After the certificate trust configuration is completed, log on to ODC again in the browser.