Using GeoServer under https will make it difficult to use map previews.
The CSS and the script resources are generated with "http://" so the browsers will block them if the main page is under https.
Start the portable binary package
Expose the port with https (I used ngrok)
Open a preview page