[an error occurred while processing the directive]
![]() |
cosign-discuss at umich.edu |
general discussion of cosign development and deployment | |
Issue #1
When I try to logout something funny happens, apache give me an "internal error page" and I in my apache errorlog I see:
/usr/local/cosign/certs/weblogin.reed.edu.key: No such file or directory
My CosignCrypto looks like this:
CosignCrypto /var/cosign/certs/key.pem /var/cosign/certs/cert.pem /var/cosign/certs/CA
Shouldn't mod_cosign be looking for /var/cosign/certs/key.pem?
Issue #2
So I tried playing along and started making some symlinks so that /var/cosign/certs/key.pem was linked to /usr/local/cosign/certs/weblogin.reed.edu.key (ditto with the cert).
This get's me a little further, but then I hit the next issue.
My cert isn't verifying. Stracing httpd I find that it thinks
the CAdir is /usr/share/ssl/cert.pem! (i.e. it's looking for
/usr/share/ssl/cert.pem/ddc328ff.0 and naturally not finding it). I
don't find the string "/usr/share/ssl/cert.pem" anywhere in cosign, but
I do see it in in OpenSSL's "libcrypto.so", presumably it's a hard coded
default that's not getting overridden by any other setting.
Issue #3
Playing along again I make /usr/share/ssl/cert.pem a link to
/var/cosign/certs/CA/ (a directory that contains my cacerts and the hash
links to each of them). This gets me just a little further. But logout
still fails with
apache's errorlog reporting:
net_logout: 511 LOGOUT: Invalid cookie name.
and cosignd reporting to syslog:
cosignd[15584]: f_logout: cookie name contains '/'
And indeed the cookie name *does* include a / (two of them actually). Here's the debug (slightly edited) output from cosignd:
debug: LOGOUT cosign=FtSw0jUie..snip..8cAizQWFY/1100124532/2 xxx.xxx.xxx.xxx
So I'm not sure if there are many problems here or just a single one.
/* only the cosign= cookie and not the loop breaking info */ fprintf( stderr, "cookie with slash: %s\n", cookie ); (void)strtok( cookie, "/" ); fprintf( stderr, "cookie NO slash: %s\n", cookie );
I'd like to see what you get. :) -J