Forum Discussion
Error requesting data from an API that returns HTTPS
The SSL Certificate for that website is misconfigured. If you try to access that link you posted in a browser you should get a warning like this
When I look at the site's SSL certificate, it looks like they have generated it themselves, rather than having it issued by a Trusted Root Authority thjat issues SSL certificates (like GlobalSign, VeriSign etc)
The certificate says it was issued by Wesa4Biz. This is not good practice for a publicly available website and could mean the site is untrustworthy. Why are they issuing the certificate to themselves?
When you check the SSL Cert Details and Certification Path it confirms that they have created the certificate themselves.
This type of self-signed certificate will not be trusted by browsers, and Power BI. That's the source of your issue.
Compare the cert above to a valid, trusted certificate
You can see this certificate has been issued by GlobalSign which is a Trusted Root Authority for issuing SSL Certs. Browsers and Power BI will trust this certificate and allow you to connect to the site.
Furthermore, if you try to connect to the wesa4Biz website using HTTP, you get this error,
That shouldn't happen. It should either work over HTTP, or better still, redirtect you to the HTTPS (encrypted connection) website.
So to summarize, the site you are trying to connect to is using an SSL certificate that they created themselves. This is suspicious on a publicly available website and will not be trusted by browsers, or Power BI, and your connection to it will be blocked.
The site needs to buy an SSL cert from a Trusted Root Authority and install that new cert on their website.
Regards
Phil