I'm currently playing around with PKI auth on my Apache2 server and I was just wondering if there is a quick/easy way to add/remove users from the SSLRequire line? Right now I have something like this:
<Directory />
Options FollowSymlinks
AllowOverride None
SSLRequireSSL
SSLRequire %{SSL_CLIENT_S_DN_CN} =~ m/(user1|user2|....|userN)$/ and %{SSL_CLIENT_S_DN_OU} eq "MY-OU"
</Directory>
As you can probably guess, editing this file every time a user needs to be added or removed can be pretty tedious. Is there a simpler way to go about this?