Front-end ajax cannot request https

as mentioned in the question, the back-end interface of https cannot be requested at the front end. I would like to ask how to solve this problem.
the error requested is: failed to load resource:net::ERR_CERT_AUTHORITY_INVALID

Mar.14,2022

your https backend certificate is not trusted. If you are in the development environment, you can choose not to verify the certificate or add the root of the trust self-signed certificate
if it is a production environment, you must use the trusted certificate


what's wrong?
I guess it has nothing to do with https cross-domain


opening sentence? No error reported, no code, why can't the request not have
network take a look, what is the return value


  1. error message means that the certificate is invalid. It is recommended to check whether the certificate is trusted by the browser
  2. Cross-domain problem is not this error, but it is recommended to check whether cross-domain problem is handled
Menu