Help Center> Object Storage Service> FAQs> OBS Basics> Failed to Access the OBS Domain Name Due to Failure in Connecting the CA Certificate

Failed to Access the OBS Domain Name Due to Failure in Connecting the CA Certificate

If the certificate is untrusted, accessing the OBS domain name fails. You need to obtain the OBS certificate again and import it to the client trust store.

  1. Obtain the OBS certificate (using the Chrome browser as an example).

    1. Enter the OBS domain name in the address box of a browser: https://obs.myhuaweicloud.com.
    2. Click on the left of the domain name and select Certificate.
      Figure 1 Exporting a certificate
    3. Click Details > Copy to File and obtain the OBS certificate (obs.cer) as prompted.

  2. Import the OBS certificate to the client trust store.

    For example, if the Java runtime environment is used, you need to import the certificate to the cacerts. In the following example, d:\obs.cer is the local path for storing the certificate.

    keytool -import -alias cacerts -keystore cacerts -file d:\obs.cer