Does anyone know the command to determine if OpenSSL and mod_ssl are installed on Apache2?
相关问题
- Mechanize getting “Errno::ECONNRESET: Connection r
- Tomcat and SSL Client certificate
- Can we add four protocols to ServicePointManager.S
- .NET Core gives unknown error while processing HTT
- JDK 11. javax.net.ssl.SSLPeerUnverifiedException:
相关文章
- ssl配置问题
- Intermittent “sslv3 alert handshake failure” under
- Making a two way SSL authentication between apache
- decrypt TLS 1.2 AES-GCM packet
- How to use Jetty with Let's Encrypt certificat
- Sending email using php, gmail, and swiftmailer ca
- Can't pip install packages in python 3.6 due t
- How to disable tls 1.0 and use only tls 1.1 using
If you have PHP installed on your server, you can create a php file, let's called it phpinfo.php and add this
<?php echo phpinfo();?>
, and open the file in your browser, this shows information about your system environment, to quickly find info about your Apache loaded modules, locate 'Loaded Modules' on the resulting page.The default Apache install is configured to send this information on the Server header line. You can view this for any server using the curl command.
Use the following commands.
For RHEL/CentOS/Fedora:
For Ubuntu/Debian
For SUSE
If you have PHP installed on your server, you can chek it in runtime using "extension_loaded" funciontion. Just like this:
You should install this Apache mod, http://httpd.apache.org/docs/2.0/mod/mod_info.html, it basically gives you a run down of the mods you're using and the Apache settings. I have this enabled on my Apache and it gives me this info for my website,
Server Version: Apache/2.2.3 (Debian) mod_jk/1.2.18 PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8
If you just run
openssl
in your terminal it should present the openSSL shell. My first clue to knowing that I didn't havemode_ssl
was when I got the following error after addingSSLEngine on
in my virtualhost file:In centos I just had to install it via
yum install mod_ssl