I was installing ssl certificate in nginx server. We were given 4 files. I could not note what contained in those files, but I vaguely remember their name.
- root.txt
- intermediate.txt
- private.txt
- certificate.txt
But I used only private.txt and certificate.txt to upload certificate to server.
https://www.thesslstore.com/knowledgebase/ssl-install/nginx-ssl-installation/
I was reading this blog and it included intermediate certificate as well.
What are the disadvantages of not using the intermediate.txt file?
The certificate was valid when I tested it. Is it less secure that way? If yes, why?
PS I used these commands to verify the hash generated by both were valid.
$ openssl x509 -noout -modulus -in certificate.crt | openssl md5
$ openssl rsa -noout -modulus -in private.key | openssl md5