Russ Allbery writes:
Kai Lanz <l...@stanford.edu> writes:
I see the following error 11 times in Apache's error_log:
[Tue Jul 17 16:19:13 2012] [error] mod_webauth: mwa_cache_keyring:
webauth_keyring_auto_update /usr/local/apache/conf/webauth/keyring
failed:
invalid argument to function (22)
It's having trouble reading your existing keyring. It thinks that
either
the key type or the key data for one of the keys in your existing
keyring
is invalid. Why, I don't know; my first guess is that there's some
sort
of bug in WebAuth 4.2.0, since that part of the code was substantially
rewritten. But I don't immediately see what it might be.
If you run wa_keyring -f /usr/local/apache/conf/webauth/keyring list
on
that same keyring, do you get the same error?
I get a very similar error:
# wa_keyring -f /usr/local/apache/conf/webauth/keyring list
wa_keyring: cannot read keyring /usr/local/apache/conf/webauth/
keyring: invalid argument to function (unsupported key type 0)
-- Kai