This solution applies to all Barracuda Web Security Gateway, firmware version 4.0 and higher.
Barracuda Web Security Gateway firmware version 4.0 introduced a new feature to use HTTPS for all block pages. Navigate to Block/Accept > Configuration. Select the Yes radio button for Use secured block page and click Save Changes to enable this feature.
Link to this page: