1. Download King Ann free Certificate
https://www.zzidc.com/help/helpDetail?id=555
2. File decompression upload to the server, the location of their own decision
3. Adjust Apache configuration View original link: https://www.zzidc.com/help/helpDetail?id=555
① Make sure your Apache compiles the SSL module, which is the necessary condition to support SSL certificate (if not, compile, open phpstudy--settings--php module extension--PHP-OPENSSL front check above).
② into the Apache directory, httpd.conf find #loadmodule ssl_module modules/mod_ssl.so, remove the preceding comment, so that the SSL module takes effect (if the module has been stripped of comments, do not operate).
③ Find the site configuration for configuring 80 port HTTP, typically in the following path: D:\phpStudy\Apache\conf has a vhosts.conf file, according to 80 configuration, another VirtualHost443, as follows:
Listen 443
<virtualhost *:443>
ServerAdmin [email protected] # (and 801 samples)
ServerName yourdomain.com # (and 801 kind)
Errorlog "/logs" # (and 801 samples)
DocumentRoot "D:\phpStudy\WWW" # (and 801 samples)
Sslengine on
Sslprotocol All-sslv2-sslv3
Sslciphersuite aesgcm:all:! Dh:! export:! rc4:+high:! medium:! Low:!anull:!enull
Sslcertificatefile "/USR/LOCAL.../YOURDOMAIN.COM.CRT (certificate path on server)"
Sslcertificatekeyfile "/usr/local.../yourdomain.com.key (certificate path on server)"
Sslcertificatechainfile "/USR/LOCAL.../BUNDLE.CRT (certificate path on server)"
</VirtualHost>
④ reboot Apache (may error, see if port 443 is blocked or occupied by a firewall)
After normal restart of Apache, enter https://yourdomain.com in the browser to see the security lock out.
Back up your certificate!
Phpstudy How to install Mount Vista SSL Certificate window under Apache Server Web site HTTPS access