Results 1 to 11 of 11

Thread: phpmyadmin ssl cert path

  1. #1
    Join Date
    May 2014
    Posts
    32

    phpmyadmin ssl cert path

    Hi,

    I'm running DA on https, but phpmyadmin throw an error cause it's using a self-signed certificate.

    Where can I change the path to the cert so I can attach our valid ssl certificate?

    -Brian

  2. #2
    Join Date
    Jul 2014
    Posts
    20
    Hello,

    It using SSL from Apache

    /etc/httpd/conf/ssl.crt/server.crt
    and

    /etc/httpd/conf/ssl.key/server.key

  3. #3
    Join Date
    May 2014
    Posts
    32
    thanks!

    One question tho.. is it better to just replace the cert or change the path to the cert just for phpmyadmin?

  4. #4
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,119
    Quote Originally Posted by brivelt View Post
    thanks!

    One question tho.. is it better to just replace the cert or change the path to the cert just for phpmyadmin?
    We replace self-signed Certificates with commercial Certificates, so we're always using documented paths and don't need to worry about updates breaking them.

    Or am I missing part of your question?

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  5. #5
    Join Date
    May 2014
    Posts
    32
    No you got it right.

    Although I've replaced the contents of the server.crt and server.key files with the key and certificate of our comodo certificate but it still throws the self signed localhost certificate when accessing phpmyadmin. I have already reloaded httpd, restarted and rebooted the server.

  6. #6
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,800
    Hello,

    Do you use https://IP/phpmyadmin/? https://hostname/phpmyadmin/? Or https://user-domain/phpmyadmin/ to access phpMyAdmin?
    Do you have nginx as a frontend?
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  7. #7
    Join Date
    May 2014
    Posts
    32
    Hi Alex,

    We're using hostname/phpmyadmin and yes we do have nginx as a frontend.

  8. #8
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,800
    Then you should update certs in /etc/nginx as well (dovecot and exim require also updates of certs). But to be sure that you do not miss anything you should better update them through Directadmin as user admin on its user level.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  9. #9
    Join Date
    May 2014
    Posts
    32
    Thanks, adding the certs via DA did the trick!
    Is it still necessary to update the certs in /etc/nginx? Or is this covered by DA?

  10. #10
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,800
    You're welcome. There is no need to update the certs anywhere else since you did it in Directadmin. Directadmin has already updated all the needed files: if to say about nginx+apache. Exim and dovecot might require additional care, not too sure though. Just compare the files time of last modification: /etc/exim.cert and /etc/exim.key
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  11. #11
    Join Date
    May 2014
    Posts
    32
    Thanks again. exim cert and key were not updated so did this manually.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •