When I tried to add a weather widget to a region and press the Get forecast it doesn’t do anything. I don’t receive a error message, just nothing.
What i’ve already did:
Followed the guidelines for installing the weather module.
Registered an account and API.
API tested on the server, client side and it worked with simple http request from browser.
I’m lost and don’t know how to solve it. Can you please help me out? Many thanks.
CMS 8.11 on Windows server 2016 and IIS 10.0.
alex
December 21, 2018, 10:38am
2
Likely your PHP configuration isn’t quite right:
Using Tickers, Forecast, Twitter and other external resources that make use of HTTPS connections
It is easy to reference and use external sources in Xibo widgets such as Tickers, however special consideration may need to be taken when referencing resources provided over SSL (anything with HTTPS at the front of the Address).
Symptoms
You have added a Ticker/Twitter/Forecast media item which references a feed or uses resources served over HTTPS and nothing is shown. You have checked the logs and …
Hi Alex, thanks for your response. I inspected my log and found this:
Unable to reach Forecast API: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see libcurl - Error Codes )
But I’ve downloaded the cacert.pem and changed our php.ini file. Do you have any suggestions left? I hope so. Many thanks in advance.
alex
December 24, 2018, 12:22pm
4
Perhaps you didn’t restart your Apache server or php-fpm after making the change? Or perhaps your cert file isn’t readable by whatever user those processes run as?
I did a restart from IIS after the change. I also restarted the complete server.
alex
December 24, 2018, 12:51pm
6
Perhaps you have a corporate filtering proxy that generates its own spoofed certificates?
If so, you’ll need to add its CA cert to the bundle.
Sorry I’m quite new to this. How do I add a CA cert to the bundle?
alex
December 24, 2018, 2:19pm
8
You get your organisations certificate, and append it to that file so that it looks like the others in there.