I call them cheat docs, as there is a collection of external docs that help achieve the goal:
How to setup vhosts in WAMP (port 80) and how to setup SSL , with vhosts on WAMP (port 443)
Setup VHOSTS on WAMP guide:
https://john-dugan.com/wamp-vhost-setup/
Install OpenSSL on Windows guide:
https://tecadmin.net/install-openssl-on-windows/
Enable SSL on WAMP guide:
https://bobcares.com/blog/enable-ssl-in-wamp-server/
Export OPENSSL paths:
set OPENSSL_CONF=C:\Program Files\OpenSSL-Win64\bin\openssl.cfg
set Path=%Path%;C:\Program Files\OpenSSL-Win64\bin
Generate Key
openssl genrsa -out example.com.key 2048
Generate CSR
openssl req -new -sha256 -key example.com.key -out example.com.csr