如何解决openssl_encrypt:使用空的初始化向量iv可能不安全,因此不建议使用错误phpmyadmin
打开phpmyadmin时出现此问题。我在服务器上什么都没做
/libraries/plugins/auth/AuthenticationCookie.class.php#744 openssl_encrypt():使用空的初始化向量(iv)可能不安全,不建议使用 回溯
.// libraries / plugins / auth / AuthenticationCookie.class.php#744:openssl_encrypt( 字符串“ userid”, 字符串'AES-128-CBC', 字符串``, 整数0 字符串``, ) ./libraries/plugins/auth/AuthenticationCookie.class.php#626:AuthenticationCookie-> cookieEncrypt( 字符串“ userid”, 字符串'8a782c92b7c2ca333600e3da8d629fbb', ) ./libraries/plugins/auth/AuthenticationCookie.class.php#549:AuthenticationCookie-> storeUsernameCookie(字符串'userid') ./libraries/common.inc.php#1037:AuthenticationCookie-> storeUserCredentials() ./prefs_manage.php#12:require_once(./ libraries / common.inc.php)
解决方法
这是由于证书未在apache服务器中正确更新。尽管您可以使用Windows的Sql Workbench和Mac的Sequel pro来访问服务器中的MySql Db,或者如果要在服务器中解决此问题,也可以执行此命令
sudo apache2ctl stop
停止服务,并且
sudo apache2ctl start
重新启动。
证书将被更新,并且颁发将被修复。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。