lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

Test cases error : SSL routines::ee key too small

Open chronolaw opened this issue 3 years ago • 1 comments

I am working on ubuntu 22.04, when I run t/129-ssl-socket.t, I got a lot of errors, like below:

nginx: [emerg] SSL_CTX_use_certificate("/home/chrono/github/lua-nginx-module/t/servroot/conf/../html/test.crt") failed (SSL: error:0A00018F:SSL routines::ee key too small)
Bailout called.  Further testing stopped:  TEST 21: unix domain ssl cosocket (verify) - Cannot start nginx using command "nginx -p /home/chrono/github/lua-nginx-module/t/servroot/ -c /home/chrono/github/lua-nginx-module/t/servroot/conf/nginx.conf > /dev/null" (status code 256).

It seems to be caused by 1024 bits test.crt/test.key.

Could we update these cert/key file?

chronolaw avatar Jan 24 '22 01:01 chronolaw

PR is welcome

zhuizhuhaomeng avatar Jan 24 '22 04:01 zhuizhuhaomeng