While using CA Siteminder's JAVA SDK API we noticed a starnge issue that sometimes the init fails randomly. Also re-initializtions happens later with no change in the system. It开发者_Python百科's little alarming and unexpected. Since AgentAPI is majorly connecting to policy server, there's no point where it will have issues with resource (like system ports) but still the issue happens. Did anybody notice such a behaviour with CA Siteminder anytime?
Finally it was figured out by CA Siteminder team. The reason cited out was the random number generator inside the ssl handshake. The RNG took more time to gain certain entropy by which server was timing out. It's an intresting case and the solution suggested was using /dev/urandom
instead of /dev/random
to get a fast RNG.
精彩评论