Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #4612: Auth works now with $apr1$ prefixed passwords

Component User interface
Title Auth works now with $apr1$ prefixed passwords
Date May 8, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.4.0b7 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

The default encryption algorithm of htpasswd stores passwords in MD5 format. If you take a look at the file it prefixes the password with $apr1$. This format was not handled by the Check_MK GUI. If you set the prefix to $1$ it worked.

The GUI has been changed to be able to work with both formats. Passwords set with this command should now work out of the box:

htpasswd -m $OMD_ROOT/etc/htpasswd [username]

To the list of all Werks