Ubuntu搭建https步骤:
# apt-get install apache2
# apt-get install ssl-cert
# apt-get install openssl
开启SSL模块
# a2enmod ssl
# ln -s /etc/apache2/sites-available/default-ssl /etc/apache2/sites-enabled/
# service apache2 restart
访问:https://localhost
转载于:https://blog.51cto.com/yangzhiming/1605146