My activities New request

contact atmail support

PH: +61 (7) 5357-6605

support@atmail.com

Follow

Configuration of CalDAV and CardDAV via SSL

Stewart -

PROBLEM
I want to enable SSL for my calendar and contacts.

ENVIRONMENT

  • On-Premise Server + WebMail Installations: Version 6.0 > Current Version
  • Webmail Only Installations: Version 6.0 > Current Version

CAUSE
By default Atmail is installed for CalDAV/CardDAV to listen on port 8008 for connections. Some clients such as iCal.app under OS-X will attempt to connect via SSL on port 8443, encrypting all calendar data between the client and server.

RESOLUTION

  1. To enable SSL CalDAV/CardDAV connections on your server, specify a new VirtualHost, for example:
    /etc/httpd/conf.d/atmail-dav.conf
    # SSL version for CalDAV/CardDAV
    Listen 8443

    SSLEngine on
    SSLCertificateFile /usr/local/atmail/mailserver/ssl/yourssl.crt
    SSLCertificateKeyFile /usr/local/atmail/mailserver/ssl/yourssl.key.nopass

    # Change to your DocumentRoot, this is the default path for Atmail
    DocumentRoot /usr/local/atmail/webmail/dav/
    RewriteEngine On

    # CardDAV iOS device auto-probe redirect
    RewriteRule ^/\.well-known\/carddav /mail/dav/ [R] RewriteRule ^/(.*)$ /rootserver.php [L]
  2. Restart Apache, and desktop clients such as iCal will attempt to connect via CalDAV (SSL, port 8443) by default, when creating a new account.
Have more questions? Submit a request

Comments