possibility to set port number and ssl certificate check