@drew
I deleted the contents of /var/root/Libary/Caches/ocspd and rebooted (I didn't delete the actual directory as there didn't see any point). The three files were recreated but NOT the fsCachedData directory.
-rw-r--r-- 1 root wheel 4096 2 Dec 08:40 Cache.db
-rw-r--r-- 1 root wheel 32768 2 Dec 08:40 Cache.db-shm
-rw-r--r-- 1 root wheel 613912 2 Dec 08:42 Cache.db-wal
I renabled the OCSP and CRL options in Keychain Access preferences.... and waited....
Slightly worrying log entry at around the same time:
Dec 2 08:41:14 hostname.deleted.com usernoted[213]: Connection does not have the proper entitlement (com.apple.private.notificationcenter-system) to connect to the system notification center. All communication will be denied. center com.apple.storeagent
The log entry that I always associated with a OCSP download event:
Dec 2 08:41:40 hostname.deleted.com storeagent[353]: multibyte ASN1 identifiers are not supported.
Has not occured since 08:41 when the machine booted.
Two hours in and the files have not been written to since 08:42 (ie. when they were created).
Machine has downloaded a total of 4.49Mb in the two hours (ie. nothing of consequence).
Not sure what my next steps are going to be, but I think I have to look into the log entry above and check that things are working as expected.
Would anyone advise re-creating the fsCacheData directory, or should I just wait and see if the OS does it for itself when it's needed?
Thanks to everyone whose been involved in this discussion, it does feel like we are making some progress...
Update:
Started the Appstore which initated a small certificate download from Akamai.
New file sizes:
-rw-r--r-- 1 root wheel 4096 2 Dec 08:40 Cache.db
-rw-r--r-- 1 root wheel 32768 2 Dec 10:57 Cache.db-shm
-rw-r--r-- 1 root wheel 659232 2 Dec 10:57 Cache.db-wal
And 'lsof | grep ocspd' produced:
ocspd 691 root cwd DIR 1,2 1224 2 /
ocspd 691 root txt REG 1,2 132752 12217 /usr/sbin/ocspd
ocspd 691 root txt REG 1,2 50744 2099199 /private/var/db/mds/system/mdsDirectory.db
ocspd 691 root txt REG 1,2 32768 2099202 /private/var/db/mds/messages/se_SecurityMessages
ocspd 691 root txt REG 1,2 32768 2099255 /private/var/root/Library/Caches/ocspd/Cache.db-shm
ocspd 691 root txt REG 1,2 23548880 48540 /usr/share/icu/icudt51l.dat
ocspd 691 root txt REG 1,2 71616 2100812 /private/var/db/crls/ocspcache.db
ocspd 691 root txt REG 1,2 600832 11337 /usr/lib/dyld
ocspd 691 root txt REG 1,2 343060674 986325 /private/var/db/dyld/dyld_shared_cache_x86_64
ocspd 691 root 0u CHR 3,2 0t0 306 /dev/null
ocspd 691 root 1u CHR 3,2 0t0 306 /dev/null
ocspd 691 root 2u CHR 3,2 0t0 306 /dev/null
ocspd 691 root 3u KQUEUE count=2, state=0x2
ocspd 691 root 4u REG 1,2 4096 2099239 /private/var/root/Library/Caches/ocspd/Cache.db
ocspd 691 root 5u REG 1,2 4096 2099239 /private/var/root/Library/Caches/ocspd/Cache.db
ocspd 691 root 6u REG 1,2 659232 2099254 /private/var/root/Library/Caches/ocspd/Cache.db-wal
ocspd 691 root 7u REG 1,2 32768 2099255 /private/var/root/Library/Caches/ocspd/Cache.db-shm
ocspd 691 root 8u REG 1,2 659232 2099254 /private/var/root/Library/Caches/ocspd/Cache.db-wal
ocspd 691 root 11u unix 0x71451fa84179d6e3 0t0 ->0x71451fa840cb25b3
ocspd 691 root 13u unix 0x71451fa840cb25b3 0t0 ->0x71451fa84179d6e3
ocspd 691 root 85u unix 0x71451fa83cabf1cb 0t0 ->0x71451fa83d5815bb
And now back to waiting....