user session is opened every 5 minutes for every ssl-enabled virtual server

OS: Debian 9 (selected Debian 8 in dropdown)

I noticed that both syslog and auth.log is flooded with the creation, setting up and removing of user sessions (via systemd). With a little research i found out that this is triggered by the command su USERNAME -c openssl x509 -in /home/USERNAME/domains/DOMAIN/ssl.cert -issuer -subject -enddate -startdate -text that is run for every ssl-enabled virtual host every 5 minutes. The command is not triggered by a cron-script but by the webmin-server itself (miniserv.pl).

This may not be a bug in the classic sense. But i think creating a user session for every virtual host every 5 minutes is not necessary to achieve the desired outcome?

Status: 
Closed (works as designed)

Comments

This is intentional - Virtualmin periodically checks the expiry date of all SSL certs, and runs the command as the domain owner for security reasons.