implemented iOS, with alt certificate