Asked by duncanb7
at 2024-12-17 04:58:14
Point:500 Replies:6 POST_ID:828863USER_ID:11059
Topic:
Linux;Apache Web Server;Secure Socket Layer (SSL) & HTTPS
I am using Linux CentOS6.5 with apache VPS server with the following apache version which is reported from phpinfo() php function.
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 PHP/5.3.21
Question-1 from the apache version, whether it is told I have already installed mod_ssl apache module or not ? If yes, why I could not find anything in "httpd.conf" file like as follows quotes
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
Why ?
And I am doing SSL self-cert installation for CentOS and follow this link to do it.
https://library.linode.com/web-servers/apache/ssl-guides/centos, and I could
NOT install mod_ssl modules from "yum install mod_ssl" (Error report: no package available) but I can generate the self-cert and its key by openssl command. Now I go to visit my site with https such as https://mysite.com that I can access the site index page but with red crossed mark and slash mark on https.
Question-2
I could not find the file of mod_ssl.so either at /usr/local/apache/modules or /usr/lib64/httpd or all my directories with my root access. Why my site still works for SSL https access even there is no any apache mod_ssl module enabled or exists ?
Question-3. How can I install mod_ssl module if yum install mod_ssl is not working ?
More my information provided: I had used Cpanel before on my hosting company and now I've switched to VPS server and stop to use Cpanel(since Cpanel was expired)
Duncan
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 PHP/5.3.21
Question-1 from the apache version, whether it is told I have already installed mod_ssl apache module or not ? If yes, why I could not find anything in "httpd.conf" file like as follows quotes
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
Why ?
And I am doing SSL self-cert installation for CentOS and follow this link to do it.
https://library.linode.com/web-servers/apache/ssl-guides/centos, and I could
NOT install mod_ssl modules from "yum install mod_ssl" (Error report: no package available) but I can generate the self-cert and its key by openssl command. Now I go to visit my site with https such as https://mysite.com that I can access the site index page but with red crossed mark and slash mark on https.
Question-2
I could not find the file of mod_ssl.so either at /usr/local/apache/modules or /usr/lib64/httpd or all my directories with my root access. Why my site still works for SSL https access even there is no any apache mod_ssl module enabled or exists ?
Question-3. How can I install mod_ssl module if yum install mod_ssl is not working ?
More my information provided: I had used Cpanel before on my hosting company and now I've switched to VPS server and stop to use Cpanel(since Cpanel was expired)
Duncan