HTML::Mason, Rose::DB and dhandlers are your friend.
On the face of it this is the sort of thing mod_perl should excel at. Does it? Can you intercept requests like this one above? Which API methods should I be looking at?
smime.p7s
Description: S/MIME cryptographic signature