fix when downloading file using wget ,  a cert error causes download failed