I am doing some local development among a series of IIS servers we have in my server room.
In FireFox, I load one of the IIS-hosted test sites, http://geojammer.cmua.edu
The site loads fine, but this site also needs to get data via an api that is from another test server(Windows Server 2016 and IIS) we have. That server is just using an IP address, http://138.149.x.30:7878/api/testsite/geonames
When I examine the developer console, I see this message:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://138.149.x.30:7878/api/testsite/geonames/5aedc187-5833-492a-a5e0-a697b9af0rec
So I googled this, and found out how to add certificate exceptions in FireFox from this Stack Overflow question: The Same Origin Policy disallows reading the remote resource
But when I try to add an exception for the site http://138.149.x.30:7878
, FireFox says it can't identify it.
Does anyone know way around this so I can test my sites?
Thanks!
question from:
https://stackoverflow.com/questions/65945725/how-do-i-add-a-server-certificate-in-firefox-for-testing 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…