Bugzilla – Bug 6528
Add locking to openssl serial file in GridShibCA::OpenSSLCA.pm
Last modified: 2009-12-08 20:30:32
You need to log in before you can comment on or make changes to this bug.
There currently is no locking on the openssl serial file in GridShibCA::OpenSSLCA.pm. This could cause undefined behavior for concurrent certificate generations. I suspect they would either reuse the same serial number or fail outright depending on the exact semantics of perl and the underlying OS.
Committed to head of CVS. Slated for 2.0 Uses Fcntl::flock() Added LockFile parameter to gridshib-ca.conf to specify file to use for locking.