【问题标题】:openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended error phpmyadminopenssl_encrypt():使用空的初始化向量 (iv) 可能不安全且不推荐错误 phpmyadmin
【发布时间】:2021-02-06 13:21:12
【问题描述】:

我在打开我的 phpmyadmin 时遇到了这个问题。我没有在我的服务器上做任何事情

/libraries/plugins/auth/AuthenticationCookie.class.php#744 openssl_encrypt():使用空的初始化向量 (iv) 可能不安全,不推荐 回溯

./libraries/plugins/auth/AuthenticationCookie.class.php#744: openssl_encrypt( 字符串'用户ID', 字符串“AES-128-CBC”, 细绳 '', 整数 0, 细绳 '', ) ./libraries/plugins/auth/AuthenticationCookie.class.php#626: AuthenticationCookie->cookieEncrypt( 字符串'用户ID', 字符串 '8a782c92b7c2ca333600e3da8d629fbb', ) ./libraries/plugins/auth/AuthenticationCookie.class.php#549: AuthenticationCookie->storeUsernameCookie(string 'userid') ./libraries/common.inc.php#1037: AuthenticationCookie->storeUserCredentials() ./prefs_manage.php#12: require_once(./libraries/common.inc.php)

【问题讨论】:

    标签: ssl phpmyadmin digital-ocean lets-encrypt certbot


    【解决方案1】:

    这是由于证书没有在 apache 服务器中正确更新。虽然您可以使用适用于 Windows 的 Sql Workbench 和适用于 Mac 的 Sequel pro 访问服务器中的 MySql Db,或者如果您想在服务器中修复此问题,您可以执行此命令

    sudo apache2ctl stop
    

    停止服务,并且

    sudo apache2ctl start
    

    重新开始。

    证书将被更新,问题将被修复。

    【讨论】:

      猜你喜欢
      • 2012-08-03
      • 1970-01-01
      • 2021-01-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-24
      相关资源
      最近更新 更多