Re: "error loading key" and "key data is not secure", only from time to time...

From: A. Schulze <sca_at_andreasschulze.de>
Date: Mon, 14 Sep 2015 22:14:45 +0200

patpro:

> File permissions are ok (I think):
>
> -r--r----- root opendkim
> /var/db/opendkim/univ-lyon2.fr/201509-490482f6.private


opendkim expect *.private to be readable ONLY by the user and NOT by
any other group.
Make the key readable for the group in your case does not enforce no
other uid may read the key.
so the key permissions are "insecure"

-> chown opendkim:root *.private
-> chmod 0400 *.private

Andreas
Received on Mon Sep 14 2015 - 20:15:03 PST

This archive was generated by hypermail 2.3.0 : Mon Sep 14 2015 - 20:18:01 PST