Create self signed certificate
https://linuxize.com/post/creating-a-self-signed-ssl-certificate/
Follow this guide:
https://www.arubacloud.com/tutorial/how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04.aspx
Remove:
'SSLSessionTickets'vfrom /etc/apache2/conf-enabled/ssl-params.conf
CN name can set to server's IP.