0

I am working on create certificate signing request for my server. when I run:

openssl genrsa -out www.mysite.com.key 2048

I got the error msg

"unable to write "random state" 
e is 65537 (0x10001)

Could anyone help me? please!

Thank you

Marc B
  • 356,200
  • 43
  • 426
  • 500
  • Possible duplicate of [Using openssl what does “unable to write 'random state'” mean?](http://stackoverflow.com/questions/94445/using-openssl-what-does-unable-to-write-random-state-mean). – jww Jan 12 '14 at 01:19
  • https://stackoverflow.com/a/48290001/715269 – Gangnus Jan 16 '18 at 21:21

1 Answers1

0

Try executing the command as a superuser, like:

sudo openssl genrsa -out www.mysite.com.key 2048
rsc
  • 10,348
  • 5
  • 39
  • 36