Allow invalid certificate for curl request