[Help] Unable to load private key when building from prosody

7 views
Skip to first unread message

Yusak Setiawan

unread,
Aug 30, 2021, 2:10:30 AM8/30/21
to prosody-dev
Hi, 

Please help. I got error "Unable to load private key", when the make running

----------- error message -------
make[1]: Entering directory '/src/certs'
openssl req -new -x509 -key localhost.key -days 365 -sha256 -utf8 \
        -config localhost.cnf -out localhost.crt
unable to load Private Key
139741130073752:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: ANY PRIVATE KEY
GNUmakefile:38: recipe for target 'localhost.crt' failed
make[1]: *** [localhost.crt] Error 1
make[1]: Leaving directory '/src/certs'
GNUmakefile:29: recipe for target 'all' failed
-------------------------------------------------------------------------

What should I do?

Regards
yoesak


Reply all
Reply to author
Forward
0 new messages