Change HTTP into HTTPS After configuring SSL settings of the web server, now here comes a question: how can we change all HTTP URL into… Read More »How to Change HTTP into HTTPS in WordPress
Secure Sockets Layer (SSL)
When you were trying to use htdigest instead of htpasswd to create a password file, you might meet the error: [root@test ~]# htdigest -c /usr/local/httpd/passwords… Read More »How to Resolve "Could not open passwd file -c for reading"
For creating SSL certificates, you have to install one of httpd module called mod_ssl, and after that, a corresponding configuration file will be created at… Read More »Where is the Default Location of SSL Certificates?
ERROR_LOG After you set display_errors = Off in php.ini, the error message began to go background. You might want to know where the error message… Read More »Where is the Default Location of ERROR_LOG in PHP?
The procedure to make formal SSL work is more complicate than a self-signed SSL, because the procedure involves a third party, i.e. a certificate authority… Read More »How to Make Your Official SSL Work - Openssl + Apache + Linux + CA
PHP provides a global variable $_SERVER['HTTPS'] that can be checked whether the clients are connecting over SSL or not. For example: <?php if (!isset($_SERVER['HTTPS']) ||… Read More »How to Force Clients to Use HTTPS by PHP
Apache httpd provides several ways to force clients to use secure http, one is redirect which is recommended, the other is rewrite. Redirect is rather… Read More »How to Redirect HTTP to HTTPS by Web Server
After installing SSL certificate, I rebooted the system, and I knew the process which ran httpd might be wrongly started at system startup, because starting… Read More »How to Resolve "(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80"
Openssl announced a vulnerability (CVE-2014-0160) in the handling of the TLS heartbeat extension on April 7th, 2014. Version 1.0.1 before 1.0.1g and 1.0.2 before 1.0.2… Read More »How to Update Openssl to a Fixed Release against HeartBleed on Enterprise Linux 6.4