Let’s Encypt error on Univention UCS Server

Hi, thank you for the prompt reply.
Do you know what can I check on UCS/Apache to fix the wrong/duplicated redirect rule?

To redirect http to https on my UCS/Apache webserver I’ve just typed:
ucr set apache2/force_https=yes
Then created a ‘/var/www/.htaccess’ with those entries:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.) [https://%{HTTP_HOST}%{REQUEST_URI}*