I have an ISPConfig 3 server running with several clients. One of the clients needs an SSL certificate, so I have assigned them a separate static IP. I'm wondering what the proper ISPConfig way to set this up is. Of course I don't want any other clients to be able to select (or see would be even better) this IP. Can someone guide me the right way? I've done SSL sites with Apache2 many many times, but would like to stick to the ISPConfig way so things don't get messed up on an upgrade (that's happened once already). Thanks in advance.
If you create the websites as admin user for your clients, then no client can change the settings on the first tab like the IP address. So the steps are: 1) Login as admin user and create the website for this client. 2) select the IP, enable the ssl checkbox, then go to the ssl tab and enter the details for the ssl cert and select create as action and click on save. After a few minutes, go back zo the site and you will find the sl csr and self signed crt in the fields on the ssl tab. 3) If you want a officially signed ssl cert, take the sl csr, let it sign by a ssl authority and copy the ssl crt that you get back into the ssl crt field and select save as action.
That sounds good, but for adding the IP address, do I go in to System -> Server IP addresses and add both the mail IP and the customers IP there?
for example ? following Your steps ... i have 2 sites a.com and b.com. On a.com i have ssl cert. so i have https://a.com. when i access https://b.com with my browser i got https://b.com in address bar .. but i enter in https://a.com any idea ? ________ Portable Vaporier Review ________ Pot news ________ LovelyWendie99
The email system does not realy on IP adresses for accounts. So there is no email IP. IP Adresses ae for websites (apache) only.
Thats correct and the normal bahviour of the apache webserver. Ýou can use the SSL IP for only one website. So no other website may use this IP for http or https. This is not ispconfig specific, it is the way that ssl works.
how to ? okey Till .. I agree with u ... but how can i have more than one ssl site per machine ? (per IP)? ________ BUY VAPORIZERS ________ AVALON (CONCEPT) ________ Lovely Wendie99
You have to add as many IP addresses as you want to have SSL records on that machine. Please see SSL specification RFC for details. Thats not specific to ispconfig.
All IP-Adresses that should be used for websites (vhosts) have to be added there incl. the main IP of the server.
Sorry if i update an old thread, but i have the same question. I have 2 ip adresses. ip1 i have for main. It is used to server, and all websites i create. ip2 will be used for one client. To use SSL. I read that i should insert both my main ip adress and ofcurse the additional ip adress. I think i should have the box "HTTP NameVirtualHost" checked for the additional ip so the user can use it. But if i should insert my main ip. Should this box be checked or unchecked? I bought the manual for isp3, but i dont understand exactly. Thanks!! BTW: My ip adresses är public.
The box has to be checked for every IP address that you want to use for a website. there is no difference between main and additional IP's.
I insert my ip adresses under "edit server ip" Then i change one client to the new so the client can get SSL. Now when i visit the cliets website i see: It works! This is the default web page for this server. The web server software is running but no content has been added, yet. And when i try www.xxx.com/admin i get: Not Found The requested URL /admin/ was not found on this server. I know that admin directory exist. What can i do? EDIT: One more question. The client that i change ip on, should i change the dns to the new ip? If i will do that. Should i do it on everything that point to the shared ip? xxx.com ftp mail www
On Debian/Ubuntu, the vhost configuration files are stored in the /etc/apache2/sites-available/ directory.
sorry. but i dont really understand /etc/apache2/sites-available/clientname Is it right with clientname or what shell i type?
Can you take a look at the contents by typing Code: cat /etc/apache2/sites-available/[I]<vhost>[/I] ? Is the IP address correct?
When i type in: cat /etc/apache2/sites-available/<vhost> I get: -bash: syntax error near unexpected token `newline'