Solved: pubcookie access to file failed, reason: verification of user id '<null>' not configured

You've spent hours getting your encryption keys in order. You've successfully got a granting key and a crypt key from your pubcookie server. Your Apache ssl.conf is finely honed and your external SSL tests are flawless.

Yet your users can't log in. They're not being redirected to the central login server. Instead, they see messages like


Solution to Invalid command 'PubcookieAppID'

When setting up Pubcookie, you may encounter an "Internal Server Error" in your browser and the following error in /var/log/httpd/ssl_error_log (or wherever you're keeping your SSL error log):

Compiling and Installing Pubcookie on 64-bit RHEL6

Before attempting compilation, make sure you have the following prerequisites installed (and Apache of course):

yum install gcc mod_ssl openssl-devel httpd-devel

Then you're ready:

curl -O
tar xzvf pubcookie-3.3.4a.tar.gz
cd pubcookie-3.3.4a
make top_builddir=/usr/lib64/httpd top_srcdir=/usr/lib64/httpd

Then with sudo or as root:

Pubcookie for Drupal 4.7

I've just committed a version of the pubcookie module that's compatible with Drupal 4.7. I also added a bit to the README to explain how the pubcookie module works:


Subscribe to RSS - Pubcookie