Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 2019 07:56:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 241701] FreeBSD Handbook 13.6.1 obsolete code
Message-ID:  <bug-241701-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241701

            Bug ID: 241701
           Summary: FreeBSD Handbook 13.6.1 obsolete code
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: doc@FreeBSD.org
          Reporter: clay.daniels.jr@gmail.com

From: FreeBSD Handbook 13.6.1 OpenSSL/Generating Certificates:

openssl genrsa -rand -genkey -out cert.key 2048

Can't load -genkey into RNG
34371158016:error:2406F079:random number generator:RAND_load_file:Cannot op=
en
file:/usr/src/crypto/openssl/crypto/rand/randfile.c:98:Filename=3D-genkey

Man OPENSSL(1)
genrsa - Generation of RSA Private Key. Superseded by genpkey(1).

My solution:
root@r7bsd:~/keys_selfsign # openssl genpkey -algorithm RSA -out cert.key
-pkeyopt rsa_keygen_bits:2048
........................+++++

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241701-9>