[Solved] UI_set_result:result too small:ui_lib.c:869:Yo u must type in 4 to 1024 characters

 Issue:- 

The issue was occuring when i tried to generate the certificate using the following command.

sudo openssl genrsa -des3 -out server.key 1024

Error:- 

UI_set_result:result too small:ui_lib.c:869:You must type in 4 to 1024 characters

Cause:-

Leave off the -des3 flag, which is an instruction to the openssl to encrypt the server.keynew which is not a new key at all - its exactly the same key as server.key only with the passphrase changed or removed.

Resolution:-

so i updated the command as 

sudo openssl genrsa -out server.key 1024
which worked fine.

Comments

Popular posts from this blog

[Solved] calico/node is not ready: BIRD is not ready: BGP not established (Calico 3.6 / k8s 1.14.1)

[Resolved] groupVersion shouldn't be empty

[Solved] Gitlab remote: ERROR: Your SSH key has expired.