Hi, I'm trying to install a ISPCONFIG3 server for multiple site, all on the same main domain. Ex : site1.mydomain.tld, site2.mydomain.tld, site3.mydomain.tld I want to buy a wildcard ssl for *.mydomain.tld et apply it to all website. Is it possible ? How can i do that ? Thank you,
Thank. How can i generate csr ? I try that : - Generated CSR via openssl command in console - Giving this CSR to the CA - Reveived 2 crt file - Activated SSL on site1.mydomain.tld - Filled SSL Key with the key generated by openssl - Filled SSL Cert with crt file received by CA - Filled SSL Bundle with crt file received by CA - Used "Saving Cert" SSL is working BUT the cert is the default ssl generated by server at the install, not the one i bought.
Thats really esay, login to ispconfig, go to the first website and there to the ssl tab, enter the ssl cert details (the smaller fields at the beginning), select *.domain.tld as domain and "create certificate" as action and press save. You then get a self signed ssl cert plus a csr that you can sign at a ssl authority. Using the opensl command or actions on the shell are not nescessary. The signed ssl cert is then copied back, select save certificate as action and save the new cert. The process is exaplained in detail with screenshots in the ispconfig manual.
I try this but : i created 2 sites : site1.mydomain.tld & site2.mydomain.tld. On site1.mydomain.tld, i can only select site1.mydomain.tld or *.site1.mydomain.tld. I cannot select *.mydomain.tld
Another strange problem : For testing, i configure my 2 website like this : site1.mydomain.tld - No SSL site2.mydomain.tld - SSL with self signed certif. http://site1.mydomain.tld --> OK https://site1.mydomain.tld --> site2 is displayed (still with url of site 1) !!! site 2 is OK on Http & https. ISPCONFIG & SSL became very difficult to understand for me
Don't find a real solution and why ISPCONFIG didn't save my cert. I copy manually with shell my cert file in var/www/clients/client1/web/ssl and now it works !
i do it (many times) without result. I think i have a problem of saving/applying conf. with ispconfig because this : https://www.howtoforge.com/community/threads/http-to-https-redirection.44209/ don't work too. Rules are displayed in the field (after saving, back to home and go to Sites->my sites->Option) but without effect.
I've done everything above and that works fine for the *.domain.tld. When going to another site in ISPConfig siteb.domain.tld -- what do I do to get the original wildcard cert to work? I've tried copying the *.domain.tld.key and .crt over to the /var/www/siteb.domain.tld/ssl directory but that does not seem to work. Nor does pasting the information from *.domain.tld into the ISP Config SSL tab and pressing SAVE Certification. To add a bit: I noticed that after trying to update the SSL Tab with the keys from domain.tld. I now see that it failed back to the original unsigned certificates and added a .err extension to files. I can only assume that it doesn't like it, but there is no further error descriptions to tell me what needs to be done to get it to work.
Okay, I think I figured this out. Instead of using the SSL Tab, leave it empty altogether. Delete any Self Signed Certificate you may have had in there. Make sure to enable SSL And copy the working .key / .csr & .crt to the approprate name in the ssl directory of the website you're working on. (ie. /var/www/sitename/ssl/sitename.key etc... Then restart apache and your golden.
Simply copy the SSL cert, key and bundle of the SSL cert into the apropropriate fields of the SSL tab, select "save certificate" as option and press on the save button. This happens when you copied a cert into the wrong field or when cert and key do not match so that apache fails to start, in that case, ispconfig rolls back the last working configuration. I highly recommend to redo the sl setup in the way I described above as the way you used now will cause the site to fail sooner or later when you edit it again.