No system property value for SMS_TRANSPORT_ENCRYPTION so using AES error in AM (All versions)
The purpose of this article is to provide assistance if you encounter a "No system property value for SMS_TRANSPORT_ENCRYPTION so using AES" error in AM. This error typically occurs when you do an Amster export or try to view OAuth 2.0 clients in the AM admin UI.
Symptoms
You experience issues such as the Amster export fails; potentially resulting in a 502 Bad Gateway error, you cannot list all the OAuth 2.0 clients in the AM admin UI, or the list of OAuth 2.0 clients takes a long time to load in the AM admin UI.
The following error is shown in the org.forgerock.openam.core.sms.SmsPasswordTransformer debug log when this happens:
org.forgerock.openam.core.sms.SmsPasswordTransformer:04/02/2020 01:22:06:161 PM GMT: Thread[http-nio-8080-exec-17,5,main]: TransactionId[314f2da7-9f14-45cb-a32b-073bc8a36672-4579068] No system property value for SMS_TRANSPORT_ENCRYPTION so usingRecent Changes
Installed the Amster transport key.
Causes
The Amster transport key is required to allow encrypted passwords to be imported and exported. The documentation states that the transport key must be deleted after imports and exports have completed. However, if the transport key is not deleted, the processing time for any interfaces that list objects with passwords or secrets (such as an Amster export or listing OAuth 2.0 clients in the AM admin UI) will be impacted and may lead to a timeout before the request completes, causing this error to occur.
Solution
This issue can be resolved by firstly removing the transport key. See Delete a transport key for further information.
Additionally, you can also increase the read-timeout when you connect to Amster using the -t
(--connection-timeout
) option. This timeout defaults to 10 seconds but you can increase it further if you are still seeing issues after removing the transport key. For example, the following --connection-timeout option will increase the timeout to 45 seconds:
See Also
502 Bad Gateway error when an Amster (All versions) command fails
Create transport keys to Export Configuration Data
Related Training
N/A
Related Issue Tracker IDs
OPENAM-16172 (Performance issue with Transport key if not removed)