【environment】 ubuntu18.04 apache2
Enable Ubuntu's default ssl certificate
sudo a2enmod ssl
sudo systemctl reload apache2
sudo a2ensite default-ssl
Warning when accessing https with Google Chrome ⚠️ It comes as a screen. Open the details, type "this is unsafe" and press the "Enter" key to switch to https communication!