Password Encryption Error When Upgrading from 6.1 to 6.2Password Encryption Error When Upgrading from 6.1 to 6.2https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1151102002024-03-29T11:49:37Z2024-03-29T11:49:37ZRE: Password Encryption Error When Upgrading from 6.1 to 6.2Alberto Chaparrohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1151175862019-09-07T00:42:58Z2019-09-07T00:42:58Z<html><head></head><body>Amos is right, SHA was the previous encryption algorithm so if you didn't change it in 6.1 you have to use it.<br>it's easier that you just add the following property to your portal-ext.properties during the startup of 6.2:<br><pre><code>passwords.encryption.algorithm.legacy=SHA</code></pre><br>(Or MD5 if you were using that one in 6.1)</body></html>Alberto Chaparro2019-09-07T00:42:58ZRE: Password Encryption Error When Upgrading from 6.1 to 6.2Amos Fonghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1151148932019-09-06T15:40:21Z2019-09-06T15:40:21Z<html><head></head><body>I think the password encryption algorithm in 6.1 was SHA<br><a href="https://docs.liferay.com/ce/portal/6.1/propertiesdoc/portal.properties.html#Passwords">https://docs.liferay.com/ce/portal/6.1/propertiesdoc/portal.properties.html#Passwords</a><br><a href="https://docs.liferay.com/ce/portal/6.1/propertiesdoc/portal.properties.html#Passwords"></a><br>Did you startup liferay with the property?<br><br><pre><code>-Dexternal-properties=portal-legacy-6.1.properties</code></pre><br>It should show up in the startup log if it's reading the file.</body></html>Amos Fong2019-09-06T15:40:21ZPassword Encryption Error When Upgrading from 6.1 to 6.2sammy fattahhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1151101992019-09-06T10:50:31Z2019-09-06T10:50:31ZHello,<br /><br />I have been trying to upgrade from 6.1 to 6.2, and now I'm close to having a break down.<br />After upgrading I am receiving the following error after I login.<br /><br />10:39:42,269 ERROR [http-bio-8080-exec-15][LoginAction:131] com.liferay.portal.PwdEncryptorException: Password upgrade was not successfully configured. Please set the property "passwords.encryption.algorithm.legacy" with the previous password encryption algorithm and restart.<br />com.liferay.portal.PwdEncryptorException: Password upgrade was not successfully configured. Please set the property "passwords.encryption.algorithm.legacy" with the previous password encryption algorithm and restart.<br /> <br />However, I have passwords.encryption.algorithm.legacy=MD