<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 14, 2018 at 11:45 PM, Sebastian Andrzej Siewior <span dir="ltr"><<a href="mailto:sebastian@breakpoint.cc" target="_blank">sebastian@breakpoint.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
</span>It does say error, but everything completes as expected, correct?<br></blockquote><div><br></div><div>Yes, correct: the cert file is created, despite the error message.</div><div><br></div><div><br></div><div>FWIW: with the older openssl 1.1.0 "libssl1.1:amd64 (1.1.0h-2)", there is no error message with the cert-gen command; the file /root/.rnd is there after the first openssl key-gen command</div><div><br></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">root@0e7025a0d9cc:/# openssl version</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">OpenSSL 1.1.0h 27 Mar 2018</div><br></div><div><br></div><div><div>root@0e7025a0d9cc:/# ls -al /root/.rnd</div><div>ls: cannot access '/root/.rnd': No such file or directory</div><div><br></div><div>root@0e7025a0d9cc:/# openssl genrsa -out example.com.key 2048</div><div>Generating RSA private key, 2048 bit long modulus</div><div>...............................+++</div><div>.....................+++</div><div>e is 65537 (0x010001)</div><div><br></div><div>root@0e7025a0d9cc:/# ls -al /root/.rnd</div><div>-rw------- 1 root root 1024 May 15 05:47 /root/.rnd</div><div><br></div><div>root@0e7025a0d9cc:/# openssl req -new -x509 -key example.com.key -out example.com.cert -days 3650 -subj /CN=<a href="http://example.com">example.com</a></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">root@0e7025a0d9cc:/# </div><br class="gmail-Apple-interchange-newline"><br></div><div><br></div><br></div><div><br></div><div><br></div><div><br></div></div>
</div></div>