Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
254 views
in Technique[技术] by (71.8m points)

ssl - How do I add a server certificate in FireFox for testing?

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...