Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of error:2406F079:random number generator:RAND_load_file when calling init #13

Open
fenekku opened this issue Nov 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@fenekku
Copy link
Contributor

fenekku commented Nov 4, 2019

Steps to Reproduce:
1- invenio-cli --flavour=RDM init
Expect:

project_name [My Site]: Demo RDM
project_shortname [demo-rdm]: 
project_site [demo-rdm.com]: 
github_repo [demo-rdm/demo-rdm]: 
description [Invenio RDM Demo RDM Instance]: 
author_name [CERN]: 
author_email [info@demo-rdm.com]: 
year [2019]: 
Select database:
1 - postgresql
2 - mysql
3 - sqlite
Choose from 1, 2, 3 (1, 2, 3) [1]: 
Select elasticsearch:
1 - 7
2 - 6
Choose from 1, 2 (1, 2) [1]: 
-------------------------------------------------------------------------------

Generating SSL certificate and private key for testing....
Generating a RSA private key
.++++
..............................................................................................................................................................................................................++++
writing new private key to 'docker/nginx/test.key'
-----
-------------------------------------------------------------------------------

Get:

project_name [My Site]: Demo RDM
project_shortname [demo-rdm]: 
project_site [demo-rdm.com]: 
github_repo [demo-rdm/demo-rdm]: 
description [Invenio RDM Demo RDM Instance]: 
author_name [CERN]: 
author_email [info@demo-rdm.com]: 
year [2019]: 
Select database:
1 - postgresql
2 - mysql
3 - sqlite
Choose from 1, 2, 3 (1, 2, 3) [1]: 
Select elasticsearch:
1 - 7
2 - 6
Choose from 1, 2 (1, 2) [1]: 
-------------------------------------------------------------------------------

Generating SSL certificate and private key for testing....
Can't load /home/me/.rnd into RNG
140196224754112:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/home/me/.rnd
Generating a RSA private key
.++++
..............................................................................................................................................................................................................++++
writing new private key to 'docker/nginx/test.key'
-----
-------------------------------------------------------------------------------

Environment: Ubuntu 18.04

This doesn't prevent the key from being generated, but it looks like something wrong happened. (It is documented too, so the problem is lessened a little).

@fenekku fenekku added the bug Something isn't working label Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant