Error: issuer must use Https

My Angular SPA site it is working fine with http in development environment. However when deployed to Azure with HTTPS with Ng build–prod mode I’m getting following error.

.bundle.js:1 ERROR Error: Uncaught (in promise): issuer must use Https. Also check property requireHttps.

Angular Version : 5.2.11

Please help.