Support for ports other than 80 and 443

Will it ignore the invalid certificate that I have running on port 443?