PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 9, 2022

[FIXED] openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended error phpmyadmin

 February 09, 2022     certbot, digital-ocean, lets-encrypt, phpmyadmin, ssl     No comments   

Issue

I am getting this issue while opening my phpmyadmin. I haven't done anything on my server

/libraries/plugins/auth/AuthenticationCookie.class.php#744 openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended Backtrace

./libraries/plugins/auth/AuthenticationCookie.class.php#744: openssl_encrypt( string 'userid', string 'AES-128-CBC', string '', integer 0, string '', ) ./libraries/plugins/auth/AuthenticationCookie.class.php#626: AuthenticationCookie->cookieEncrypt( string 'userid', string '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)


Solution

This is due to the certificate was not properly renewed in apache server. Although you can access MySql Db in your server using Sql Workbench for windows and Sequel pro for Mac or if you want to fix this issue in your server you can perform this command

sudo apache2ctl stop

to stop the service, and

sudo apache2ctl start

to start it again.

The certificate will be renewed and Issue will be fixed.



Answered By - RICHU THOMAS
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing