GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » How to change port in installed profile?
How to change port in installed profile? [message #134869] Wed, 29 March 2017 08:56 Go to next message
macjimbo is currently offline  macjimbo
Messages: 60
Registered: June 2008
I've recently changed our Kerio Connect server to run on port 8443 instead of 443.

Unfortunately this has created an issue for anyone using iCal or Address Book on Mac, because the clients can no longer connect to the server, and the accounts were setup using the Kerio installer tool which creates profiles on the Mac. This means that I can't find any way of altering the port number either in iCal or in Internet Accounts.

In iCal, I can alter the port, but it won't save the new setting - presumably because it's managed by a profile.

Since changing the port, various users have added new contacts, appointments etc and these are not synced to the server. If I simply re-install the profile, my guess is that all these changes are going to be lost.

Is there any way of manually altering the profile on the affected Macs, to include the correct port number?

Cheers

James
Re: How to change port in installed profile? [message #134875 is a reply to message #134869] Wed, 29 March 2017 13:56 Go to previous messageGo to next message
Maerad is currently offline  Maerad
Messages: 275
Registered: August 2013
First of all - set the port back to 443 so all users get their stuff synced again, before even more data is fucked of - that will result in a lot of hatred.

Then leave it at 443 until you googled enough how to change that in ical etc. - if there is no special port setting, you can also try yourmailserverurl.com:8443.

Why do you wanna change the port anyway? I would leave it at default. You can secure it easily with kerio, so no login for website login is allowed but caldav. Any better portscan would unveil the port anyway.
Re: How to change port in installed profile? [message #134876 is a reply to message #134875] Wed, 29 March 2017 14:12 Go to previous messageGo to next message
macjimbo is currently offline  macjimbo
Messages: 60
Registered: June 2008
OK so I have re-enabled port 443 and iCal is no longer showing a warning BUT none of the events I added to iCal have synced up to Kerio. Is there a way of forcing a sync? I've tried quitting/restarting iCal. Same with Address Book.

Google hasn't told me how to change the port when the port is set within a user profile. iCal pretends to let you change the port, but the change isn't saved - no doubt because it is getting it's information from the profile.

I want to change the port because I also have Mac Server running on the same computer as Kerio Connect and want to use the Wiki Server, which runs on port 443.

Cheers
Re: How to change port in installed profile? [message #134877 is a reply to message #134876] Wed, 29 March 2017 14:49 Go to previous messageGo to next message
Maerad is currently offline  Maerad
Messages: 275
Registered: August 2013
There's an option in kerio who has the right if a sync error occurs (usually the server itself). Also turn on the webcav/CAL log in debug to see if the connection really works and/or check the logs for any errors.

As for the port thing ... I would say this is a bad setup Smile

I would get apache or whatever you need for mac and do a rewrite for the url to kerio. You have to read that up yourself I fear and it's a bit complex if you do that the first time. Basically you run apache or a webserver on port 80 / 443 and let them reroute based on rules or DNS entries. I have 3 websites running on one server internally, all on port 80 / 443 but every website has his own local dns name like wiki.company.local, support.company.local etc.

Based on this the traffic gets rerouted to the web service that is asked for. SO you would have ´kerio on port 8443, but it is available at 443 and rewritten.

Or you could add multiple IP interfaces and bind the services for kerio and web to a specific Interface (you can do that in kerio > servers)

Or run kerio in a virtual machine, if the hardware allows it Smile
Re: How to change port in installed profile? [message #134880 is a reply to message #134877] Wed, 29 March 2017 15:16 Go to previous message
macjimbo is currently offline  macjimbo
Messages: 60
Registered: June 2008
Thank you. Those are all very helpful options. I understand them all in principle, but time is biggest enemy. I don't need a virtual machine, one of the first options will do.

By the way, the changes did eventually sync back to the server, but not until I'd restarted my Mac as the CPU usage and fan were going mad. I guess that there were loads of updates backed up and it got a headache.

Thanks again

James
Previous Topic: Sharing user calendar to AD group
Next Topic: Future Kerio Features, and Timeline of Releases
Goto Forum:
  


Current Time: Tue Mar 28 22:45:54 CEST 2023

Total time taken to generate the page: 0.09281 seconds