How do i https the server's phpmyadmin?


#21

ya thats what im searching for since longer, but haven’t found how. wasn’t lucky googling it yet either


#22

“Tools and Settings” looks good


#23

yes i tried out the settings there, the server is shown to be LetsEncrypt encrypted … but not solving the issue


#24

Did you restart your Plesk / Apache or your server?

If that doesn’t help: Share a screenshot.


#25

just restarted the server but still

here is a screenshot of the SSL/TLS Section


Why do i have trouble with https to server panel ? and how to route http to https?
#26

Now it works:

Old check:

D:\temp>download https://onefh.com:8443/login_up.php -h
SSL error: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-store, no-cache, must-revalidate,post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
Date: Sun, 07 Oct 2018 22:01:45 GMT
Expires: Fri, 28 May 1999 00:00:00 GMT
Last-Modified: Sun, 07 Oct 2018 22:01:45 GMT
Server: sw-cp-server
Pragma: no-cache
P3P: CP=“NON COR CURa ADMa OUR NOR UNI COM NAV STA”

Status: 200 OK

235,00 milliseconds
0,23 seconds

Now:

D:\temp>download https://onefh.com:8443/login_up.php -h
SSL-Zertifikat is valide
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-store, no-cache, must-revalidate,post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
Date: Sun, 07 Oct 2018 22:46:00 GMT
Expires: Fri, 28 May 1999 00:00:00 GMT
Last-Modified: Sun, 07 Oct 2018 22:46:00 GMT
Server: sw-cp-server
Pragma: no-cache
P3P: CP=“NON COR CURa ADMa OUR NOR UNI COM NAV STA”

Status: 200 OK

298,53 milliseconds
0,30 seconds

It’s only a cache problem.

com


#27

ok looks good, (spreche auch deutsch, bin in Berlin :slight_smile:

But its still not working here.
Question, Can I use the same certificate for all domains on the server ? They basically resolve all to the same IP.

The CSR, Private Key, crt and ca.crt for the LetsEncrypt added for onefh.com are all containing code.


#28

Then clear your cache or check with another browser (or with one online tool).

The certificate must contain the domain name. Your certificate has only one domain name onefh.com, so you can use it only with this domain name (but with different ports).


#29

ok i c. The certificate has onefh.com, but onefh.com keeps staying “not secure”.

Is there a simple description how to set it up in Plesk so it will work ?


#30

This is a http - conncection, that is not secure.

Use https://onefh.com/

If it works, add a redirect http -> https.


#31

oh cool it works ! Thank you a lot Juergen for your help along the path ! )

I really appreciate it.

Regards,
Frank


#32
  1. Create a public Domain name.
  2. Build Lets Encrypt Certificate for this domain, make your https redirect in to your vhost.conf or in to your default httpd directory.
  3. Login to your “phpmyadmin” using your public domain or log in from your local NAT network. :slight_smile: :wink:

BR


#33

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.