Troubleshoot based on the symptom:
Symptom 1
The registry address fails to be verified, and the message "check whether the ohpm repository is correctly set" is displayed.

Solution
Method 1: Click Click here to go to the proxy configuration page and configure the HTTP proxy.
Method 2: Open the .ohpmrc file in C:\users\username\.ohpm and modify the http_proxy or https_proxy configuration item. If the .ohpmrc file does not exist, create one.
If your proxy server requires the user name and password for authentication, set them as follows.
http_proxy=http://user:password@proxy.server.com:80 https_proxy=http://user:password@proxy.server.com:80
ohpm info @ohos/lottie
If the information similar to the following is displayed, it indicates that the proxy has been set up successfully.

Symptom 2
The registry certificate address verification fails, with the message "UNABLE_TO_VERIFY_LEAF_SIGNATURE" displayed.

Solution
Perform the following:
Go to the C:\Users\username\.ohpm directory and open the .ohpmrc file. If no .ohpmrc file is in the directory, create one.
ca_files=your_ca_files_path
strict_ssl=false
Disabling certificate verification may bring security risks. Confirm the risks associated with disabling certificate verification before modifying the configuration. You are advised to enable certificate verification back promptly after use, by changing false to true.