I just noticed we are having the exact same problem with file name defaulting to view.php. Did you ever resolve this?
Custom certificate (plugin)
Certificate as view.php when saved.
This discussion has been locked so you can no longer reply to it.