Fix certificate problem