AEM Install Stuck on CryptoSupportInitializer

Nov. 8, 2019, 3:10 p.m.   bryce   AEM Tips and Tricks  


While installing AEM on a new (but low spec) Ubuntu VM our AEM installation stalled out on the following step:

*INFO* [OsgiInstallerImpl] com.adobe.granite.crypto.internal.CryptoSupportInitializer Starting Crypto Support (com.adobe.granite.crypto, 3.4.16) with Bundle storage

When the installation got to this process everything halted, java sputtered, and nothing happened... for a very long time.

Why? Well, this support forum gave me a clue and a solution:

https://webcache.googleusercontent.com/search?q=cache:e72prxBxhxkJ:https://forums.adobe.com/thread/2644149+&cd=1&hl=en&ct=clnk&gl=us

The reason is that my small VM didn't have enough "entropy" for the CryptoSupport bundle to proceed and it was waiting on my machine to create this entropy. The fix was very simple, install haveged to assist with this entropy creation as outlined on this support page:

https://helpx.adobe.com/ie/experience-manager/kb/securerandom-nextbytes-hangs-request-threads-in-aem.html

After running apt install haveged I restarted the AEM install and it worked!


bug installation aem