Phpmyadmin error

Hi, today I login to my phpmyadmin and get this error:

OpenSSL error: error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length

Maybe the error because of my certificate doesnt match:
My phpmyadmin url: https://78.45.xxx.xxx/phpmyadmin/index.php
My hestiacp domain is: cp.example.com
My ssl certificate is for: api.example.com

How to fix it?

use https://cp.example.com/phpmyadmin, pma should not be accessible over IP.

@ScIT
Hi. its weird. I always access my phpmyadmin via ip address since the beginning i restore it from previous vestacp backup 8months ago. And working without issue until today. I cant use domain because my server is behind cloudflare. And I only allow access hestiapanel via server local ip (using ssh tunnel). So it will not work. If I turnoff cloudflare my panel will be ddos-ed.

And your solution to use https://cp.example.com/phpmyadmin, doest work. the error still there. The error maybe because different certificate. my pma domain is cp.example.com but my certificate is for api.example.com

Is there any way to refresh ssl certificate for hestiacp root domain?

What i have tried but failed, in /etc/phpmyadmin/config.inc.php add this line:
$cfg[‘Servers’][$i][‘ssl_verify’] = false;