Fixes #1: The CA certificate should be added to curl option to prevent fails