lua-nginx-module
lua-nginx-module copied to clipboard
Test cases error : SSL routines::ee key too small
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?
PR is welcome