<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello,</div><div><br data-mce-bogus="1"></div><div><div>On my computer, I have 2 instances of midPoint (4.8).</div><div><br data-mce-bogus="1"></div><div>Each of them comes from a docker compose and are identical except for the server port to the host (8080 and 8081).</div><div><br data-mce-bogus="1"></div><div>In production instance I have created an HR resource connected to .CSV file (from mP book sample) and done stuff to import and create person users in mP.</div><div><br data-mce-bogus="1"></div><div>Before backup and restore operations, I can authenticate as administrator.</div><div><br data-mce-bogus="1"></div><div>These instances reflect a two-environment architecture (pre-production and production).</div><div><br data-mce-bogus="1"></div><div>I want to make a backup of the production instance and import it into the pre-production instance.</div><div><br data-mce-bogus="1"></div><div>By making the archives of the data and home volumes of the production instance then placing them in the pre-production volumes I have the following result: By logging in as administrator on the pre-production instance, authentication fails.</div><div><br data-mce-bogus="1"></div><div>The staging container logs indicate the following message :</div><div><br data-mce-bogus="1"></div><div><span style="font-family: monospace;" data-mce-style="font-family: monospace;"><span style="color: #18b218; background-color: #ffffff;" data-mce-style="color: #18b218; background-color: #ffffff;">midpoint_server-1 | </span><span style="color: #000000; background-color: #ffffff;" data-mce-style="color: #000000; background-color: #ffffff;">2024-10-24 12:57:54,780 [] [http-nio-8080-exec-9] ERROR (com.evolveum.midpoint.authentication.impl.evaluator.CredentialsAuthenticationE</span><br>valuatorImpl): Error dealing with credentials of user "administrator" credentials: No key mapped to key digest +DP8EV64FhbtyDpCpT5r21yI9/c= could be found i<br>n the keystore. Keys digests must be recomputed during initialization<br></span></div><div><br data-mce-bogus="1"></div><div>The behavior is identical if I dump into the production container and then do psql -f in the pre-production container.</div><div><br data-mce-bogus="1"></div><div><span style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">I specify that I did not modify the keystore.jceks file.</span></div><div><br data-mce-bogus="1"></div><div>Is it a way to recompute keys digests during initialization ? Or I miss something else ?</div><div><br data-mce-bogus="1"></div><div>Thanks for your help, <br>Best regards,</div><div><br data-mce-bogus="1"></div><div>Yann</div></div><div><br></div><div data-marker="__SIG_PRE__"><div><div style="font-family: sans; margin-bottom: 1rem;"><span style="font-size: 10pt;">---<br></span><span style="font-size: 10pt; font-weight: bold;">Yann Vernette</span><br><span style="font-size: 9pt;">Concepteur - développeur / DSI - ADA (architecture - développements - applications)<br>Tél +33 (0)4 76 5<strong>7 47 73</strong><br>En télétravail mer. matin et vendredi<br>Mer. après-midi non travaillé</span><span style="font-size: 9pt;"></span></div><div style="font-family: sans;"><span style="font-size: 10pt; font-weight: bold;">Grenoble INP - UGA</span></div><div style="font-family: sans;"><span style="font-size: 9pt;">Institut d'ingénierie et de management / Graduate Schools of engineering and management</span><br><span style="font-size: 9pt;">46 av. Félix Viallet - 38031 Grenoble | <span class="Object" id="OBJ_PREFIX_DWT1000_com_zimbra_url" style="color: rgb(0, 90, 149); cursor: pointer;"><span class="Object" id="OBJ_PREFIX_DWT1004_com_zimbra_url" style="cursor: pointer;"><a href="https://www.grenoble-inp.fr/" rel="nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank" style="color: rgb(0, 90, 149); text-decoration-line: none; cursor: pointer;">https://www.grenoble-inp.fr</a></span></span></span></div></div></div></div></body></html>