Apache is still not reachable with HTTPS after configuring SSL

Source: Internet
Author: User
Keywords Php apache
Tags builtin free ssl free ssl certificate ssl certificate
Apache is still unable to access HTTPS after configuring SSL, using Wosign's free certificate.

httpd-ssl.conf Configuration

# # This is the Apache server configuration file providing SSL support.# It contains the configuration directives to Instru CT the server how to# serve pages over an HTTPS connection. For detailed information on these # directives see
  
   
# simply read the instructions in here without understanding# what they do.  They ' re here is only as hints or reminders. If you are unsure# consult the online docs.  You have been warned. # # # Pseudo Random number Generator (PRNG): # Configure One or more sources to seed the PRNG of the "SSL library.# the seed D ATA should be of good random quality.# warning! On some platforms/dev/random blocks if not enough entropy# is available.  This means-cannot use the/dev/random device# because it would leads to very long connection times (as Long as# it Requires to make more entropy available). But usually those# platforms additionally provide a/dev/urandom device which doesn ' t# block. So, if available, use this one instead. Read the Mod_ssl user# Manual for more details.# #SSLRandomSeed startup File:/dev/random 512#sslrandomseed startup file:/d Ev/urandom 512#sslrandomseed Connect file:/dev/random 512#sslrandomseed Connect File:/dev/urandom 512## when we also prov IDE SSL we have tO Listen to the # standard HTTP ports (see above) and to the HTTPS port## note:configurations, use IPv6, not ipv4-m apped addresses need two# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443" #Listen 443#### SSL Global C    ontext#### all SSL configuration In this context applies both to## the main server and all ssl-enabled virtual hosts.### Pass Phrase dialog:# Configure the pass Phrase gathering process.# The filtering Dialog program (' Builtin ' is a int ernal# Terminal dialog) have to provide the pass phrase on stdout. Sslpassphrasedialog builtin# inter-process session cache:# Configure The SSL session cache:first the mechanism # t         o Use and second the expiring timeout (in seconds). #SSLSessionCache "Dbm:/apache24/logs/ssl_scache" Sslsessioncache "Shmcb:d:/phpstudy/apache/logs/ssl_scache (512000)" Sslsessioncachetimeout 300#### SSL Virtual Host Context##
   
    
     documentroot "d:/phpstudy/www" ServerName www.mcmxzl.com:443ServerAdmin admin@mcmxzl.comerrorlog "/apache/logs/ Error.log "Transferlog"/apache/logs/access.log "Sslengine onsslprotocol all-sslv2-sslv3sslciphersuite AESGCM:ALL:! Dh:! export:! rc4:+high:! medium:! Low:!anull:!enull; Sslcertificatechainfile "D:/PHPSTUDY/APACHE/CONF/SSL/1_ROOT_BUNDLE.CRT" Sslcertificatefile "D:/phpStudy/Apache/ Conf/ssl/2_mcmxzl.com.crt "Sslcertificatekeyfile" D:/phpstudy/apache/conf/ssl/3_mcmxzl.com.key "SSLVerifyClient Require sslverifydepth 1 
      Options +indexes +followsymlinks +execcgi Allowov Erride all Order Allow,deny-Require all granted
    
                                     
  

Reply content:

Apache is still unable to access HTTPS after configuring SSL, using Wosign's free certificate.

httpd-ssl.conf Configuration

# # This is the Apache server configuration file providing SSL support.# It contains the configuration directives to Instru CT the server how to# serve pages over an HTTPS connection.  For detailed information on these # directives see
  
   
# simply read the instructions in here without understanding# what they do.  They ' re here is only as hints or reminders. If you are unsure# consult the online docs.  You have been warned. # # # Pseudo Random number Generator (PRNG): # Configure One or more sources to seed the PRNG of the "SSL library.# the seed D ATA should be of good random quality.# warning! On some platforms/dev/random blocks if not enough entropy# is available.  This means-cannot use the/dev/random device# because it would leads to very long connection times (as Long as# it Requires to make more entropy available). But usually those# platforms additionally provide a/dev/urandom device which doesn ' t# block. So, if available, use this one instead. Read the Mod_ssl user# Manual for more details.# #SSLRandomSeed startup File:/dev/random 512#sslrandomseed startup file:/d Ev/urandom 512#sslrandomseed Connect file:/dev/random 512#sslrandomseed Connect File:/dev/urandom 512## when we also prov IDE SSL we have tO Listen to the # standard HTTP ports (see above) and to the HTTPS port## note:configurations, use IPv6, not ipv4-m apped addresses need two# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443" #Listen 443#### SSL Global C    ontext#### all SSL configuration In this context applies both to## the main server and all ssl-enabled virtual hosts.### Pass Phrase dialog:# Configure the pass Phrase gathering process.# The filtering Dialog program (' Builtin ' is a int ernal# Terminal dialog) have to provide the pass phrase on stdout. Sslpassphrasedialog builtin# inter-process session cache:# Configure The SSL session cache:first the mechanism # t         o Use and second the expiring timeout (in seconds). #SSLSessionCache "Dbm:/apache24/logs/ssl_scache" Sslsessioncache "Shmcb:d:/phpstudy/apache/logs/ssl_scache (512000)" Sslsessioncachetimeout 300#### SSL Virtual Host Context##
   
    
     documentroot "d:/phpstudy/www" ServerName www.mcmxzl.com:443ServerAdmin admin@mcmxzl.comerrorlog "/apache/logs/ Error.log "Transferlog"/apache/logs/access.log "Sslengine onsslprotocol all-sslv2-sslv3sslciphersuite AESGCM:ALL:! Dh:! export:! rc4:+high:! medium:! Low:!anull:!enull; Sslcertificatechainfile "D:/PHPSTUDY/APACHE/CONF/SSL/1_ROOT_BUNDLE.CRT" Sslcertificatefile "D:/phpStudy/Apache/ Conf/ssl/2_mcmxzl.com.crt "Sslcertificatekeyfile" D:/phpstudy/apache/conf/ssl/3_mcmxzl.com.key "SSLVerifyClient Require sslverifydepth 1 
      Options +indexes +followsymlinks +execcgi Allowov Erride all Order Allow,deny-Require all granted
    
                                     
  

Listen 443just get rid of it.

Look at the log to send the error message of the log

Thank you for inviting, visual inspection of your configuration file no problem, you open the error log to see ...

This is a busy day, not the SEG. I am wosign free SSL certificate is not very understanding, this is I search out on Baidu information, hope to help you. Links: http://jingyan.baidu.com/article/86f4a73e78ad5137d6526924.html

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.