Home > other >  How to solve the problem of the Apache configuration HTTPS
How to solve the problem of the Apache configuration HTTPS

Time:10-03

Excuse me wamp apache/conftpd integration environment. The conf configuration # Include the conf/extratpd - SSL. Will the conf # # remove environment cannot be started after

I tried in the conf/extratpd - SSL. Conf will be in the
# SSLSessionCache "DBM: c:/Apache24/logs/ssl_scache" with
SSLSessionCache SHMCB: "c:/Apache24/logs/ssl_scache (512000)."
Open, respectively, but did not solve, the environment cannot be started,
Also can't see the error messages in the log, you a great god, and how to solve this?

CodePudding user response:

The following details refer to https://www.wosign.com/support/ssl-Apache2.htm

1, open the apache installation directory under the conf directory HTTPD. Conf file, find:

# LoadModule ssl_module modules/mod_ssl. So

(if no, please confirm whether the compiled openssl plug-in)

# Include the conf/extra/httpd_ssl. Conf

Delete rows first configuration statements annotation symbols "#", save the exit,



2, open the apache HTTPD installation directory conf/extra the directory - SSL. The conf file

Note:

Yum install configuration directory: the conf. D/SSL. Conf

Ubuntu installation/apache2 directory: the conf/sites - enabled/*. Conf

In the configuration file for the following configuration statements:



A. add SSL protocol to support the statement, close not security protocols and encryption suite:

SSLProtocol all - SSLv2 - SSLv3



B. modify encrypted suite is as follows:

SSLCipherSuite AESGCM: ALL:! DH:! EXPORT:! RC4: + HIGH:! MEDIUM:! LOW:! ANULL:! ENULL.



C. configure the server certificate public key to the directory (in the conf directory to create the SSL directory, the for the inside of the Apache three

A certificate file copy to SSL directory)

SSLCertificateFile conf/ssl/test.wosign.com.crt (public key certificate)



D. the server certificate to the private key path

SSLCertificateKeyFile conf/ssl/test.wosign.com.key certificate (private key)



E. the server certificate chain configuration to the directory

# SSLCertificateChainFile conf/SSL/1 _root_bundle. CRT (certificate chain) delete rows first comment "#",

Save the exit, and restart Apache,



3, into the bin directory of the Apache installation directory, run the following commands

Stop./apachectl - k

./apachectl -k start

CodePudding user response:

Ok, thank you very much
  • Related