When trying to enroll via "Create CV Certificate" in the public web pages, using an invalid CV request file (wrong format, random file), an exception will be thrown and displayed to user.
Instead of this, we should probably catch this exception and display a nice error message to the user. Something in the lines of:
"The uploaded CV certificate request format is invalid or unsupported by EJBCA. Please upload the CV certificate request in one of the supported formats. For information on supported formats please refer to EJBCA documentation."
The "refer to" could be a link to specific docs in EJBCA describing the supported formats (do we have any docs on this?).