Radicale is a caldav/carddav server written in python, I use pip to install and upgrade it.
http://radicale.org/yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-radicale/smeserver-radicale-0.0.3-1.el6.sme.noarch.rpm --enablerepo=epel
then
signal-event radicale-update
Each time you launch this event and 'console-save' you will upgrade radicale and renew the ssl certificate if it is removed of /home/e-smith/files/.radicale
All carddav collections are stored in /home/e-smith/files/directly in the backup path, the authentication is imap based, so there is no more to do than create an user in the server-manager and use it.
# config show radicale
radicale=service
TCPPort=5232
access=public
debug=False #or True for debugging purpose (logs are in /var/log/radicale/radicale.log)
status=enabled
the event is
signal-event radicale-update
Radicale Client Configuration
The URL for accessing the radicale server is:
https://<server_domain_name>:5232/user/calendar.ics
https://<server_domain_name>:5232/user/addressbook.vcf
Where user is the sme login for this user. You have no frontend, just a server, you can use lightning for caldav with thunderbird and the plugin sogo-connector for carddav.
kudo to JM LE CORGUILLE, for the idea and the code.