I have added a captcha (BotDetect CAPTCHA) to my asp.net MVC form. But it is working correctly in the http site but not working in https.
I followed below documentation.
https://captcha.com/doc/aspnet/asp.net-mvc-captcha-quickstart.html
But in https;
These are the errors i get in browser console.
/BotDetectCaptcha.ashx?get=script-include 404 (Not Found)
/BotDetectCaptcha.ashx?get=layout-stylesheet 404 (Not Found)
Uncaught ReferenceError: BotDetect is not defined
/BotDetectCaptcha.ashx?get=image&c=ExampleCaptcha&t=be41dfc9b19b449f98fdd794a00e1cfa 404 (Not Found)
/BotDetectCaptcha.ashx?get=reload-icon 404 (Not Found)
/BotDetectCaptcha.ashx?get=sound-icon 404 (Not Found)
I found the issue. I missed below in web.config (in Live).