Have you been able to solve this problem?.
I have a new install of portal for ArcGIS 10.4.1 and at the end of the installation, where it is supposed to kickoff the admin application to "create a portal", I get a blank screen and see from developer tools that there is an error in dojo.js "unable to get account by UrlKey" error. There were no issues installing the Portal software, firewall is off, no ports blocked, license authorized. I am running in a virtualized environment and see that I have to allow a self signed certificate.
What is going wrong here?