Cloudkey self signed certificate

Certificate files appears to be the following two:
/data/unifi-core/config/unifi-core.crt
/data/unifi-core/config/unifi-core.key

Not sure what /data/unifi-core/config/unifi-core-direct.key is used for.