Reputation: 3596
I not sure why i'm getting this error after i migrated my wordpress to Azure Websites. Previously the site working perfectly without any issue. I tried to install SSL (from comodo) to Azure Websites, top up SSL from cloudflare but it still not working.
MailChimp API Response : SSL certificate problem: unable to get local issuer certificate
Some online user said need to define the php.ini, but we have no access over the file hence i'm adding the following line to wp-config.php
ini_set('curl.cainfo', "cacert.pem");
the file located at same directory as wp-config. but it's still not working. please advice. (I'm using custom domain)
Upvotes: 2
Views: 732
Reputation: 7382
You can use a custom PHP runtime, and then you can change php.ini
and any of the PHP_INI_SYSTEM
configurations.
Check here for details on how to use a custom php runtime, but basically you will upload the php version as a part of your site, and set is as the handler for *.php
in Portal.
Upvotes: 1