I installed newest versions of MySQL, IIS (on windows 10) and PHPMyAdmin.
But PHPMyAdmin 4.6.4 returns an error:
Failed to generate random CSR
royhutw is kind of right.
The default session.save_path is C:\Windows\Temp. If you're getting this error IIS probably doesn't have permissions to create a session file there.
Only thing you'll have to do is give "IUSR" modify permissions on this folder and reload your phpMyAdmin page.
modify php.ini :
session.save_path = "c:\session"
grant modify c:\session
permission to USERS
run command: iisreset
I will write here, maybe it will be useful to someone. I have a similar problem but with mysql 8 on debian 9 and sometimes I get an error token. This kind of stupid solution works for me: I change the line in php.ini:
session.save_path = "/ var / lib / php / sessions"
For anything, later I run:
sudo service apache2 restart
And once again I change the exchange line above to the correct one and reset again and I can log in to phpmyadmin ...