Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Configure SSL in phpMyAdmin

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
edica
Posts: 126
Joined: Tue May 26, 2015 7:31 pm

Configure SSL in phpMyAdmin
  • Quote

Post by edica » Mon Apr 22, 2019 5:15 pm

Hi,

How to configure SSL in phpMyAdmin?
Message in phpMyAdmin: Server connection: SSL is not being used

I put these lines but it did not work:
/etc/phpMyAdmin/config.inc.php

#$cfg['Servers'][$i]['ssl'] = true;
#$cfg['Servers'][$i]['ssl_key'] = '/usr/local/vesta/ssl/certificate.key';
#$cfg['Servers'][$i]['ssl_cert'] = '/usr/local/vesta/ssl/certificate.crt';
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Configure SSL in phpMyAdmin
  • Quote

Post by skamasle » Sun Apr 28, 2019 11:20 am

You just can use your hostname SSL and access with it, you also can try force redirection to SSL and hostname with a .htaccess or directy in phpmyadmin vhost config.
Top

edica
Posts: 126
Joined: Tue May 26, 2015 7:31 pm

Re: Configure SSL in phpMyAdmin
  • Quote

Post by edica » Sun Apr 28, 2019 10:20 pm

Is configured (.htaccess) but does not work either.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://domain.com/$1 [L,R=301]
Top

webhostingux
Posts: 4
Joined: Tue Apr 30, 2019 10:16 pm
Contact:
Contact webhostingux
Website

Os: CentOS 6x
Web: apache + nginx
Re: Configure SSL in phpMyAdmin
  • Quote

Post by webhostingux » Tue Apr 30, 2019 10:23 pm

Basically phpmyadmin can be access from Your main domain/phpmyadmin (example: http://*domain.com/phpmyadmin). Means, when Your domain has SSL like https://*domain.com, then You can access phpmyadmin over ssl like: https:*//domain.com/phpmyadmin





-----------------------------

Hosting terbaik indonesia 2019
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password