@Aniket Madhav@aniket madhav -Are you getting this error when you try to login to Batch Explorer or Azure?
-Can you also elaborate on your scenario, what you are trying to do eventually, your end goal, so that I can share alternatives if needed.
This error indicates an issue related to SSL certificates. It seems that your system is unable to verify the issuer certificate when trying to connect to the specified URL. It is usually related to the incomplete certificate chain such as (most commonly) missing the intermediate certificate or missing the root certificate authority (CA) certificate in its trusted certificate store. The fix is to ensure the entire certificate chain is present.
Here are some steps you can take to troubleshoot and resolve this issue:
- Update CA Certificates:
- Ensure that your system’s CA (Certificate Authority) certificates are up-to-date. You can update them using system-specific commands like update-ca-certificates.
- Updating CA certificates may resolve any issues related to certificate verification.
- Specify the CA Certificate Explicitly:
- If updating CA certificates doesn’t solve the problem, you can explicitly specify the CA certificate using the
--CAfile
option with OpenSSL commands. - Download the CA certificate (usually available from the certificate issuer’s website) and provide its path when making requests.
- Replace
/path/to/ca_certificate.pem
with the actual path to the downloaded CA certificate.
- If updating CA certificates doesn’t solve the problem, you can explicitly specify the CA certificate using the
- Bypass SSL Verification (Not Recommended):
- As a last resort, you can bypass SSL verification, but this is generally not recommended for security reasons.
- If you choose to do so, be cautious and understand the risks. You can disable SSL verification in your application code or configuration.
Try these suggestions and let me know if you are still seeing this issue. Thanks.