Encrypt password for idp properties...

1720
7
Jump to solution
12-04-2013 12:11 PM
ZachChristoff
New Contributor III
"While entering the credentials of the account, you must enter the plain text password of the account. When Portal service is restarted, it will encrypt the password and store it in this file."

I've tried this about 10 times... I can't seem to get it to encrypt the password.

Anyone else have any luck with this?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RaviNarayanan
Esri Contributor
In the example shown above, idp.type seems incorrect.it should be WINDOWS instead of WINDOW.

idp.type=WINDOWS

View solution in original post

0 Kudos
7 Replies
RaviNarayanan
Esri Contributor
Is the value of dp.userpassword.encrypted set to false before restarting the portal?

After updating the username/password, please make sure idp.userpassword.encrypted=false. After restarting portal will encrypt the password and change this value to true.

http://resources.arcgis.com/en/help/main/10.2/index.html#//017s00000066000000
0 Kudos
ZachChristoff
New Contributor III
# 2. WINDOWS
idp.type=WINDOW
idp.ad.user=mydomain\\myusername
idp.ad.userpassword=mypassword
idp.ad.user.fullnameattribute=cn
idp.ad.user.emailattribute=mail
idp.userpassword.encrypted=false

This is my current portal-config.properties setup.

I stop & started the Portal for ArcGIS services and nothing happened.
0 Kudos
JacobBoyle
Occasional Contributor III
make sure you actually close the config file before you restart, for some reason, that was the only way I could get portal to re-read the file.
0 Kudos
ZachChristoff
New Contributor III
No luck... I saw the timestamp get updated on the portal-config file, but still no encryption applied.
0 Kudos
RaviNarayanan
Esri Contributor
In the example shown above, idp.type seems incorrect.it should be WINDOWS instead of WINDOW.

idp.type=WINDOWS
0 Kudos
ZachChristoff
New Contributor III
@ravi

That did the trick. Thank you!
0 Kudos
WilliamCraft
MVP Regular Contributor
Please mark the correct answer and vote up helpful replies.
0 Kudos