![]() Last not least: if Kerio can also run from http: (not https:) via Port 80 and without SSL (like ), you should consider to proxy to the not-SSL connection. You are running two different PCs with the same domain / ServerName plus SSL, that is quite problematic. Its not "simply use another port" as you see, its quite a complex environment. You also have to choose a different name than .za. If both configuration do not work due to SSL problems (as two different PCs run the same certificate, what is weird a little bit), you actually have to get another (third) SSL certificate for the VirtualHost. You CANNOT check your environment from a browser on the Xampp PC (due to hosts file), you MUST check from another PC (check from outside your LAN for example). Edit Windows hosts file and add this line:Ĭode: Select all 192.168.0.3 .za It it fails, you can alternatively try this configuration:īut before running, you have to edit the hosts file of the Xampp PC, as you have to assign another IP to .za as for external access. You need "ProxyPreserveHost On" in order to specify the same ServerName for the VirtualHost as for the backend Mailserver. ![]() * here you have to install the certificate of .za Now we use the previously applied example for the VirtualHost and add the real names:Ĭode: Select all /* this is the VirtualHost for your Apache Main Server Apply the SSL certificate as documented in the Kerio documentation (thats your part, i dont know anything about that).Īfter all, run a test that at least Kerio Mailserver is running properly, check out if shows up the Mail Server Internet Interface (i dont know that). I dont know if you can use ONE SSL certificate TWICE (each on another PC), but could try it.ġ) Install the certificate for on the Xampp Computer, create a VirtualHost for the ServerName and add the SSL stuff.Ģ) Install the certificate for .za also on the Xampp Computer, create a VirtualHost for it (we will do this together, see below).ģ) Install the certificate for .za as well on the Windows Mail PC, which runs Kerio. I cannot explain it better, it would be easier if i know all your configuration. If you use three different domain names for Xampps standard, Xampps Email and finally Kerio backend, you need 3 SSL certificates. But this requires good knowledge and you must know, how to configure correctly. You CAN use the same domain name at least for Xampps Email VirtualHost and the physical Kerio PC. I have read some Docs about Kerio, there is plenty of information how to configure Kerio with a SSL certificate. ![]() Which domain are you planning in order to request the Email server from outside?ģ) You need another (or the same as mentioned in 2) ) SSL certificate for the connection between Apache and the Kerio server, this certificate is to installed on the Kerio PC. This SSL certificate is to install on the Xampp PC.Ģ) You need another (or the same) SSL certificate for the Email VirtualHost configuration in Apache. I dont know your configuration.ġ) You need an SSL certificate for the "normal" Website you offer via Xampp. You need 3(!) SSL certificates, but you may use one certificate for two different connections (so you need only 2 SSL certificates then). Markanthony wrote:So looking at the coding you provided, thank you so much for that, the directives pointing to the SSL certificate File would then be configured to point to the SSL certificate for .za, is that correct?Īctually, i dont know. March 2021 08:48 Location: Cape Town XAMPP version: 7.4.29 Operating System: Windows 10 Thanking you for your time and consideration. My requirement is that I would prefer to have the webmail interface ALSO server its webpage from port 443 so my question is can I set up some sort of reverse proxy in Apache in XAMMP so that when a request comes in for my website it goes to 192.168.0.2 port 443 and if a request for the Kerio webmail interface comes in it goes to 192.168.0.3 port 443? The D-Link does not allow for more than one virtual server to point to the same port on more than one IP address, unfortunately. I have a valid SSL certificate and a valid DNS record registered for this website.Ģ: Another Windows 10 PC running Kerio Connect mail server which has a webmail interface on port 443 and I also have a valid SSL certificate and DNS record (MX) for this web interface.ģ: A D-Link DIR-825 router that has virtual server configuration pointing to the first PC IP address (192.168.0.2) port 443 for my website and another virtual server pointing to my second PC IP address(192.168.0.3) port 8843 for the webmail interface. First and foremost, please let me clarify that yes, I know XAMPP is not recommended for production, however, it suits my specific needs perfectly for my simple website, so I am aware of the possible security issues and have taken all precautions I can to mitigate them.ġ: Windows 10 running XAMMP v7.4.29 serving my website.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |