fix ssl certificate check configuration