Did factory reset. It wanted me to unlink the PSN account before doing so, warning me that I won't be able to do it later. Couldn't unlink PSN account because of SSL error. I reset anyway, not worrying about unlinking account. Tried to install Henkaku again on different public wi-fi. It worked...