Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Disable Key Management temporarily

pardhiv
Tera Contributor

Hi,

 

I'm trying to migrate attachments to a new instances using script [Data is already migrated]. When I run the script , I get the following error. I was thinking If I can temporarily deactivate the module , what needs to be done in this case ?

 

Access denied to crypto module
Crypto module access is denied for an attachment: no thrown error
Crypto module access is denied for an attachment: com.glide.kmf.CryptoModuleAccessDeniedException: Crypto module access is denied for an attachment: com.glide.kmf.CryptoModuleCipher.getCipher(CryptoModuleCipher.java:111)

 

 

1 REPLY 1

Community Alums
Not applicable

Hi @pardhiv ,

As an Workaround you can use this workaround provided in KB1115784 .

Or  modify the MultiSSO_DigestedToken script to hard code the secret_key .

For a Quick fix : Try changing the module access policy that was auto generated for script include  MultiSSO_Abstract_Core that you need to set the result to Track.