Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

SSL issue on centos7

i download mod_ssl "yum install mod_ssl" After than i add some code on "/etc/httpd/conf.d/ssl.conf" The code is ;

<VirtualHost *:443>
 DocumentRoot "/var/www/aa.com"
 SSLEngine on
 SSLCertificateFile "/etc/pki/tls/certs/www_aa_com.crt"
 SSLCertificateKeyFile "/etc/pki/tls/certs/www_aa_com.key"
 SSLCertificateChainFile "/etc/pki/tls/certs/aa.ca-bundle"
</VirtualHost>

I opened firewall too.

sudo firewall-cmd --permanent --add-port=443/tcp

there is not any error message on httpd/error_log the httpd.service status is fine there is not any error too. but SSL doesn't work.

aa.com is working without ssl.

httpd.service status result ;

httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2018-12-21 18:04:23 EST; 5min ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 17944 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
 Main PID: 17949 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─17949 /usr/sbin/httpd -DFOREGROUND
           ├─17950 /usr/sbin/httpd -DFOREGROUND
           ├─17951 /usr/sbin/httpd -DFOREGROUND
           ├─17952 /usr/sbin/httpd -DFOREGROUND
           ├─17953 /usr/sbin/httpd -DFOREGROUND
           └─17954 /usr/sbin/httpd -DFOREGROUND

Dec 21 18:04:22 185-114-22-122.sunucu.name systemd[1]: Starting The Apache HTTP Server...
Dec 21 18:04:23 185-114-22-122.sunucu.name systemd[1]: Started The Apache HTTP Server.

firewall-cmd --list-services result is ;

dhcpv6-client ssh http https

error_log ;

 [Fri Dec 21 18:21:28.788188 2018] [mpm_prefork:notice] [pid 18012] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Dec 21 18:21:30.018583 2018] [core:notice] [pid 18032] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Dec 21 18:21:30.020448 2018] [suexec:notice] [pid 18032] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Dec 21 18:21:30.022060 2018] [ssl:warn] [pid 18032] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Dec 21 18:21:30.207286 2018] [auth_digest:notice] [pid 18032] AH01757: generating secret for digest authentication ...
[Fri Dec 21 18:21:30.208234 2018] [lbmethod_heartbeat:notice] [pid 18032] AH02282: No slotmem from mod_heartmonitor
[Fri Dec 21 18:21:30.208946 2018] [ssl:warn] [pid 18032] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 21 18:21:30.210446 2018] [ssl:warn] [pid 18032] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Dec 21 18:21:30.231912 2018] [mpm_prefork:notice] [pid 18032] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.13 configured -- resuming normal operations
[Fri Dec 21 18:21:30.231948 2018] [core:notice] [pid 18032] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

Comments