Try setting this variable in console and then restart kodi. Of course file must exists there.
Maybe another option is to set verifypeer=false in sources.xml as [curl] add url option to disable peer verification by Rechi · Pull Request #13909 · xbmc/xbmc · GitHub