(cherry picked from commit 964be534)
Cherry pick VOMS openssl 3.4 support from next (needed minor conflict resolution) to fix BUGZ-4232 also in master.