...
Run the following openSSL command
Code Block openssl req -x509 -newkey rsa:4096 -keyout $d/nginx.key -out $d/nginx.crt -days 3650 -nodes -config $d/cert.ini;
Substitutes the generate file nginx.key and nginx.crt with the one present in nginx folder (C:\Program Files\nginx\conf\certs) and restart nginx service