fix load cacert error