Refactored configuration script.
Merge branch '3.x' of github.com:italiangrid/voms-admin-server into 3.x