cancel
Showing results for 
Search instead for 
Did you mean: 

Create hash for initial admin password

jd_Inpute
Confirmed Champ
Confirmed Champ

I understand the ntlm passwords are encrypted with bcrypt then hashed with md4. I've trying creating my own bcrypt string and hashing but the result is clearly not what Alfresco is expecting.

How can I generate a unique valid hash without using Alfresco that can be used to set the initial admin password for a new repository?

1 ACCEPTED ANSWER

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

There is no option to set bcrypt hashed initial password.

You can follow this pattern:

1. Generate MD4 hash as initial password

https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/index.js#L614

2. Set password encoding to bcrypt10

https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.4/docke...

The initial password will be converted to bcrypt10 eventually

Hyland Developer Evangelist

Thanks Angel.