MID Server is failed to start with exception : Input length must be multiple of 8 when decrypting with padded cipherIssue MID Server failed to start with the below exception in the agent logs. 2023-10-07T05:52:48.826+0000 ERROR (StartupSequencer) [AutomationEncryptionKeys:101] An error occurred while decrypting automation encryption keys.com.snc.automation_common.integration.exceptions.AutomationIOException: Input length must be multiple of 8 when decrypting with padded cipherat com.glide.util.MIDServerInfoPayloadDecrypter.decryptPayload(MIDServerInfoPayloadDecrypter.java:43)at com.service_now.mid.services.AutomationEncryptionKeys.load(AutomationEncryptionKeys.java:98)at com.service_now.mid.services.AutomationEncryptionKeys.onMIDServerEvent(AutomationEncryptionKeys.java:42)at com.service_now.mid.services.Events.internalFire(Events.java:102)at com.service_now.mid.services.Events.fire(Events.java:34)at com.service_now.mid.services.StartupSequencer.startServices(StartupSequencer.java:402)at com.service_now.mid.services.StartupSequencer.testsSucceeded(StartupSequencer.java:179)at com.service_now.mid.services.StartupSequencer.startupSequencerRunnable(StartupSequencer.java:734)at java.base/java.lang.Thread.run(Thread.java:829)Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipherat java.base/com.sun.crypto.provider.CipherCore.prepareInputBuffer(CipherCore.java:1005)at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:848)at java.base/com.sun.crypto.provider.DESedeCipher.engineDoFinal(DESedeCipher.java:294)at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2202)at com.glide.util.LegacyEncrypter.decryptBytes(LegacyEncrypter.java:132)at com.glide.util.Encrypter.decryptBytes(Encrypter.java:109)at com.glide.util.MIDServerInfoPayloadDecrypter.decryptPayload(MIDServerInfoPayloadDecrypter.java:38)... 8 moreResolutionPlease follow the below steps to fix the issue a. Stop the MID Server.b. Then delete the file .\agent\security\agent_keystore.jks.c. Update the mid_instance.password parameter value in the plain text format in the config.xml file.d. Clear the keypairs.mid_id parameter value from the config.xml file.e. Restart the MID Server service. A new Keystore file should be created automatically on startup.