fix curl certificate