OpenSSL application is throwing "unable to write 'random state'" error when creating self signed certificate.
I found Using OpenSSL what does "unable to write 'random state'" mean? and learned that this is the case of version newer than 0.9.6a, and deleting or changing ownership of .rnd
or running as root will solve the problem. But we are using embedded Linux with busy box so we don't have sudo/su
utility and also the file system is a read only file system.
I am calling the OpenSSL app from a application using system()
. Please help is there any other way to resolve it.