FreeBSD, Nginx and htpasswd file generation · uwot.eu
another meaningless subtitle

FreeBSD, Nginx and htpasswd file generation

· by fabio · Read in about 1 min · (57 Words)
FreeBSD Nginx htpasswd

On most Linux distros it is possible to generate the htpasswd file entries simply using the htpasswd command line util.
On FreeBSD the easiest way to accomplish the same task is using OpenSSL itself:

openssl passwd -apr1

Enter the password twice to get a nice hash, copy that in the htpasswd file with the usual user:password_hash syntax.