X-pack and kibana: Client request error: unable to verify the first certificate

Thanks for the detailed reply!

Also it looks like the related fix https://github.com/elastic/kibana/pull/9823 as I understand should make it into 5.3.