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.
0 comments:
Post a Comment