dragonflyoss / Dragonfly

This repository has be archived and moved to the new repository https://github.com/dragonflyoss/Dragonfly2.
https://d7y.io
Apache License 2.0
6k stars 774 forks source link

Error occurred when make df.crt #1525

Open ydcool opened 3 years ago

ydcool commented 3 years ago

Ⅰ. Issue Description

got error when make df.crt

Ⅱ. Describe what happened

output:

#  make df.crt
openssl genrsa -des3 -passout pass:x -out df.pass.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
....................................+++++
.............+++++
e is 65537 (0x010001)
139985945543104:error:28078065:UI routines:UI_set_result_ex:result too small:../crypto/ui/ui_lib.c:903:You must type in 4 to 1023 characters
139985945543104:error:28078065:UI routines:UI_set_result_ex:result too small:../crypto/ui/ui_lib.c:903:You must type in 4 to 1023 characters
139985945543104:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:../crypto/pem/pem_lib.c:357:
Makefile:150: recipe for target 'df.key' failed
make: *** [df.key] Error 1

Ⅲ. Describe what you expected to happen

execute command without error

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. clone the master branch
  2. run make df.crt

Ⅴ. Anything else we need to know?

Ⅵ. Environment: