Time for action – configuring Digest authentication
Therefore, an example HTTP Digest authentication with Squid will look similar to the following:
auth_param digest program /opt/squid/libexec/digest_file_auth auth_param digest utf8 on auth_param digest children 20 startup=0 idle=1 auth_param digest realm Squid proxy server at proxy.example.com auth_param digest nonce_garbage_interval 5 minutes auth_param digest nonce_max_duration 30 minutes auth_param digest nonce_max_count 50 auth_param digest nonce_strictness on auth_param digest check_nonce_count on auth_param digest post_workaround on acl authenticated proxy_auth REQUIRED http_access allow authenticated http_access deny all
Now, let's have a look at the available HTTP Digest authentication helpers provided by Squid.
What just happened?
We learned about the different options available while configuration HTTP Digest authentication. We also saw an example configuration that will fit most cases.
File authentication
The authentication helper...