Go to your virtualmin page in SSL certificate
Go to “create self-signed certificate & update values with correct domain & email
Download your certificate PKCS12 format
Click next for all menu in popup
Your ssl is correctly donwload now return to your website for dev