Use bcrypt

Signed-off-by: Olivier Gambier <olivier@docker.com>
This commit is contained in:
Olivier Gambier 2015-06-08 15:54:37 -07:00
parent 81e8657d7b
commit b8d785c79e

View file

@ -98,10 +98,10 @@ server {
EOF
# Now, create a password file for "testuser" and "testpassword"
echo 'testuser:$apr1$8TVQAgWs$jzdkx8IgYR.guL0hzNDXq.' > auth/registry.password
echo 'testuser:$2y$05$.nIfPAEgpWCh.rpts/XHX.UOfCRNtvMmYjh6sY/AZBmeg/dQyN62q' > auth/registry.password
# Alternatively you could have achieved the same thing with htpasswd
# htpasswd -bc auth/registry.password testuser testpassword
# htpasswd -Bbc auth/registry.password testuser testpassword
# Copy over your certificate files
cp domain.crt auth