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.
- Obtain the OBS certificate (using the Chrome browser as an example).
- Enter the OBS domain name in the address box of a browser: https://obs.myhuaweicloud.com.
- Click
on the left of the domain name and select Certificate.
Figure 1 Exporting a certificate
- Click Details > Copy to File and obtain the OBS certificate (obs.cer) as prompted.
- 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
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.