Fix certificate common name port