fixes according to valentin's code review + fixed problem with conifgure dialog (it was not possible to specify no SSL certificate)