Firefox browser blocks https requests

1. The problem arises:

When our server uses the https type request interface, the ajax request is directly blocked by Firefox. The error message isNetwork Error

Insert picture description here

Two, the solution

Enter the Firefox browser about:preferences#privacy
to find the certificate settings -> Servers -> Add exception -> Enter your server address

Insert picture description here

Insert picture description here

Just try the request again.

Guess you like

Origin blog.csdn.net/qq_29722281/article/details/89326585