Mixed SSL certificates

Discussion in 'Installation/Configuration' started by kmchen, Mar 23, 2019.

  1. kmchen

    kmchen Member

    Hi,

    I had several SSL letsencrypt certificates generated by ispconfig on a server. Seemed to work until today when I found all certicates broken after some PHP INI opions added yesterday that did re-generate configuration files.
    I tried to re-generate all certificates via ispconfig > create but most of them are reported invalid cause they are delivered for another server's domain. For ex. see webologix.com is delivered on joomla-development.eu
    How can I re-generate all certificates properly ?
     
    Manu19 likes this.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not break ssl certs with php.ini changes. What you describe happens when you mix IP and * on a server in websites, switch all websites to the IP or all websites to *. Do not touch or try to regenerate any ssl certs as this will probably just break things as the certs are fine and not broken.
     
    Manu19 likes this.
  3. kmchen

    kmchen Member

    Well, I defined all with IPs and I found * definitions only in ispconfig:
    Code:
    root@ks307144:/etc/apache2# fgrep '*' ./sites-enabled/*
    ./sites-enabled/000-apps.vhost:# NameVirtualHost *:8081
    ./sites-enabled/000-ispconfig.conf:NameVirtualHost *:80
    ./sites-enabled/000-ispconfig.conf:NameVirtualHost *:443
    ./sites-enabled/000-ispconfig.vhost:NameVirtualHost *:8080
    ./sites-enabled/ispconfig.conf:NameVirtualHost *:80
    ./sites-enabled/ispconfig.conf:NameVirtualHost *:443
    
    Then I put * everywhere but still same problem
     
    Last edited: Mar 25, 2019
  4. kmchen

    kmchen Member

    Did not wait enough to watch the results. Now everything OK.
     

Share This Page