I guess the permission to the cert file are just not right. I guess splunk is run with an extra user (not root). So this user needs to be able to read this file.
Heres how I got about to check if there are permission issues
Code:
su username
ls -l /path/to/file/i/want/to/check
if this all goes well I know the permissions are right. If theres is the not allowed or permission denied message I know its not
Note that all directories on the way up to the file need to have the right permission. Either set them with
Code:
chmod 755 /lowest_dir -R
to have everybody able to read the directories or use acl's
Code:
setfacl -m user:username:permission
If this all won't get splunk to use the cert you will need to use stunnel or maybe the cert is in the wrong format (but i can't really think of any other cert format than x509 [that is in wide use])
Cheers Zhjim