After installing the SSL certificate on the Nginx web server, you need to check if it is installed correctly.
I installed the SSL certificate two months ago. The Sectigo ECC certificate.
Now I change the certificate files.
Previously, I put the site SSL certificate file content and the SSL-bundle file altogether. The final SSL certificate file is 4.36KB. It includes three certificates. The guide is from Comodo official site. Sectigo site has a similar guide here.
Now, I remove the last one. Just keep the site certificate and the middle one. Total size is 3.01KB.
The certificate I deleted from the old file is for USERTrust ECC Certification Authority. It is already included in the Trusted Root CA list.
Then, I tested the new certificate file, which has two certificates only, on different online SSL checking tools.
It is almost two years old of my Crucial BX100 256GB SSD. Now, I upgraded its firmware from MU01 to MU02. Then I did the benchmark test. The result is very clear that new firmware improve the performance.
It is the test based on the LEMP, or Linux, Nginx, MySQL and PHP, on Centos 6.4 64bit at Burst.net 1GB VPS.
Details about the testing bed:
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1 cores, 1GB RAM
CentOS Linux 6.4
Linux 2.6.18-348.4.1.el5.028stab107.2 on x86_64
PHP Version 5.4.21 fpm-fcgi
MySQL server 5.5.34
I ran the test three times.
| PHP BENCHMARK SCRIPT |
Start : 2013-10-23 00:00:24
Server : email@example.com
PHP version : 5.4.21
Platform : Linux
test_math : 1.660 sec.
test_stringmanipulation : 1.983 sec.
test_loops : 1.031 sec.
test_ifelse : 0.837 sec.
Total time: : 5.511 sec.
It is a test on a virtual box Centos 6.4 installation. One forum, powered by phpBB 3.0.11.
I would like to know the time to generate the page.
The time I got is through Firebug on Firefox.
On Firefox 23.0.1, Firebug 1.12.0, Net Panel > All
The waiting time 476ms is the time waiting for the response from web server.
From my point of view it is the time including generate the html.
Which program I tesed on?
phpBB 3.0.11, with file as acm_type. It is a forum viewing page, listing topics of one forum.
How to test PHP and get the results?
I tested seven times on each PHP version. Then took the highest one and lowest one away. Add the five waiting time figures and get the average of it.
It is a general test on a Centos 6.4 system. The benchmark script is made by http://www.php-benchmark-script.com/. The first time I run it on the updated default Centos6.4. The php version is 5.3.3. I think it has Xcache installed. The test result is Total time: 8.482 sec.Breakdown as below: