Fixed SSL not working