<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SQL Server Identity Provider with Encrypted Passwords in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376966#M14601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are migrating AGS security from 10 to 10.2 version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In AGS 10, we are using SQL Server database with Encrypted passwords (not Hashed) as identity provider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After setting this SQL Server database as identity provider in AGS 10.2, we are unable to validate passwords and create new users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the User Store Configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "type": "SQL_SERVER",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "properties": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "passwordFormat": "Encrypted",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "applicationName": "esriags",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "connectionString": "Data Source={HOSTNAME}\\SQLEXPRESS;Initial Catalog={DBNAME};Integrated Security=SSPI"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating new user throws this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way how to set machineKey in AGS 10.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 08:08:57 GMT</pubDate>
    <dc:creator>MatejVrtich1</dc:creator>
    <dc:date>2013-09-18T08:08:57Z</dc:date>
    <item>
      <title>SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376966#M14601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are migrating AGS security from 10 to 10.2 version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In AGS 10, we are using SQL Server database with Encrypted passwords (not Hashed) as identity provider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After setting this SQL Server database as identity provider in AGS 10.2, we are unable to validate passwords and create new users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the User Store Configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "type": "SQL_SERVER",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "properties": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "passwordFormat": "Encrypted",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "applicationName": "esriags",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "connectionString": "Data Source={HOSTNAME}\\SQLEXPRESS;Initial Catalog={DBNAME};Integrated Security=SSPI"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating new user throws this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way how to set machineKey in AGS 10.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 08:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376966#M14601</guid>
      <dc:creator>MatejVrtich1</dc:creator>
      <dc:date>2013-09-18T08:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376967#M14602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the exact same issue. I don't see any place where this can be configured. Have you figured it out yet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 13:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376967#M14602</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2013-11-07T13:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376968#M14603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As we did not find any way how to use encrypted passwords, we ended with converting the database with passwords into hashed format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376968#M14603</guid>
      <dc:creator>MatejVrtich1</dc:creator>
      <dc:date>2013-11-20T12:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376969#M14604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was afraid you'd say that. We have opened a ticket with ESRI since we really need to use encryped passwords so our applications and data can be accessed with a single login. But since AGS server no longer runs on IIS and ASP.NET, I have my doubts as to whether or not backend password decryption is possible anymore. Thanks for posting back!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376969#M14604</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2013-11-20T12:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376970#M14605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having this exact same issue. Trying to get a support ticket started and get confirmation from ESRI that 10.1 (and 10.2) don't support encrypted user stores. Or if it does where to set those values for a machine key because it is not obvious where to do that now in 10.1, and the new server architecture.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 16:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376970#M14605</guid>
      <dc:creator>JasonReid</dc:creator>
      <dc:date>2013-11-25T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376971#M14606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was anyone able to resolve this? I'm trying to change the "applicationName" property to the default asp.net applicationName of "/" that many of the users and roles in our database was made using. However, changing it in the store configuration JSON did not do anything. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 21:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376971#M14606</guid>
      <dc:creator>RuchiraWelikala</dc:creator>
      <dc:date>2014-10-30T21:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376972#M14607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We were able to get this working using the stock ESRI SQL Configuration by setting the MachineKey section settings in the server's machine.config files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 19:01:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376972#M14607</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2014-12-11T19:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376973#M14608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the exact same issue. I tried to workaround that issue with the settings &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in the server's machine.config as &lt;/SPAN&gt;you mentioned. But unfortunately it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide some more details?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376973#M14608</guid>
      <dc:creator>Rainer_Herzog</dc:creator>
      <dc:date>2015-06-25T13:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376974#M14609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the steps I had to take to get this working:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy the machineKey section from your old server's web.config to your new server's machine.config files (I did all 4 since I'm not sure what framework version or x86 or x64 are being used by Java).&lt;/LI&gt;&lt;LI&gt;Edit your security-config.json file with the following settings:&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;"userStoreConfig": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "SQL_SERVER",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "properties": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "applicationName": "your-application-name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; "roleStoreConfig": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "SQL_SERVER",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "properties": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "applicationName": "your-application-name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Reboot the server.&lt;/P&gt;&lt;P&gt;4. Test the config settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 14:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376974#M14609</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2015-06-26T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376975#M14610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your quick reply and the full description of your settings. But unfortunately this does not solve my problem. As I did exact the same things you descripted I'm wondering what else could cause the difference.&lt;/P&gt;&lt;P&gt;Just to be sure: if you add new users to your user-store in your SQL Server / SQL Server Express-DB, the password there would get a passowrd with the format encrypted and not hashed (PasswordFormat = 2 in the table aspnet_Membership)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case - congrats! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 21:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376975#M14610</guid>
      <dc:creator>Rainer_Herzog</dc:creator>
      <dc:date>2015-06-29T21:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376976#M14611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I believe in order to achieve that you will have to implement a custom provider. In our case all we needed was to be able to validate existing users with encrypted passwords. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 03:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376976#M14611</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2015-06-30T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Identity Provider with Encrypted Passwords</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376977#M14612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, in this case it makes sence. Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;Now I know I have to find another approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 06:59:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-identity-provider-with-encrypted/m-p/376977#M14612</guid>
      <dc:creator>Rainer_Herzog</dc:creator>
      <dc:date>2015-06-30T06:59:35Z</dc:date>
    </item>
  </channel>
</rss>

