search cancel

Error : Unable to obtain OS random data in Windows Policy Server logs


Article ID: 36823


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On SITEMINDER



Trying to start the Policy Server on Windows, this one does not start and reports an error:    

  [5588/5404][Wed Jun 17 2015 14:53:10][CCrypto.cpp:749][ERROR] Unable to obtain OS random data
  [5588/5404][Wed Jun 17 2015 14:53:10][CCrypto.cpp:700][ERROR] Unable to seed random number generator
  [5588/5404][Wed Jun 17 2015 14:53:10][CCrypto.cpp:174][ERROR] Unable to initialize random number subsystem
  [5588/5404][Wed Jun 17 2015 14:53:10][CServer.cpp:3784][ERROR] Unable to initialize crypto subsystem




All Policy Server versions on Windows;




Check the account used for starting and stopping the Policy Server on Windows.

This account should have permission to access the CryptSvc (Cryptographic Services) service on Windows through those functions CryptAcquireContextA (1), CryptGenRandom (2), and CryptReleaseContext (3).


Additional Information



    CryptAcquireContextA function (wincrypt.h)


    CryptGenRandom function (wincrypt.h)


    CryptReleaseContext function (wincrypt.h)