Environment: Windows 7 + apache2.4 + php7.0 + mysql5.7 how to configure secure link access like myweb.com locally ?? I have searched Baidu | Google, and I have tried it. this is the url I copied: blog. csdn. netybb35068... generated the certificate...
Environment: window7 + apache2.4 + php7.0 + mysql5.7
How do I configure secure link access like https://myweb.com locally ??
I Baidu | Google have searched, but also tried to do, this is my modeled Web site: http://blog.csdn.net/ybb35068...
The certificate is generated, the certificate is placed in the conf folder under the apache root directory (server. crt, server. key), the ssl_mod is enabled in the configuration file, and the httpd-ssl.conf is enabled.
In the httpd-ssl.conf I configured it like this:
Listen 443 (comment this out, otherwise the error will be reported: port 443 has been used, I decided from this website to do this: http://superuser.com/question ...)
You have added another VM:
ServerName ftl.com DocumentRoot 'd:/web/frontToolLib '# consistent SSLEngine on SSLCertificateFile' with ftl.com in the httpd-vhost.conf $ {SRVROOT}/conf/server. crt 'sslcertificatekeyfile' $ {SRVROOT}/conf/server. key'
Then configure the httpd-vhosts.conf file
NameVirtualHost ftl.com:443
ServerName ftl.com DocumentRoot 'd:/web/frontToolLib'
...
...
Save and restart apache. However, when accessing:
If the problem persists, can we provide a tutorial on configuring apache to enable https secure access in the latest version of windows ??
Thank you !!
Reply content:
Environment: window7 + apache2.4 + php7.0 + mysql5.7
How do I configure secure link access like https://myweb.com locally ??
I Baidu | Google have searched, but also tried to do, this is my modeled Web site: http://blog.csdn.net/ybb35068...
The certificate is generated, the certificate is placed in the conf folder under the apache root directory (server. crt, server. key), the ssl_mod is enabled in the configuration file, and the httpd-ssl.conf is enabled.
In the httpd-ssl.conf I configured it like this:
Listen 443 (comment this out, otherwise the error will be reported: port 443 has been used, I decided from this website to do this: http://superuser.com/question ...)
You have added another VM:
ServerName ftl.com DocumentRoot 'd:/web/frontToolLib '# consistent SSLEngine on SSLCertificateFile' with ftl.com in the httpd-vhost.conf $ {SRVROOT}/conf/server. crt 'sslcertificatekeyfile' $ {SRVROOT}/conf/server. key'
Then configure the httpd-vhosts.conf file
NameVirtualHost ftl.com:443
ServerName ftl.com DocumentRoot 'd:/web/frontToolLib'
...
...
Save and restart apache. However, when accessing:
If the problem persists, can we provide a tutorial on configuring apache to enable https secure access in the latest version of windows ??
Thank you !!