you can generate certificate with the command below:
openssl req -x509 -nodes -days 365 -newkey rsa:4096 -keyout server.key -out server.crt
you can generate certificate with the command below:
openssl req -x509 -nodes -days 365 -newkey rsa:4096 -keyout server.key -out server.crt