Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have the pem file installed in a HTML directory. Although all of the files are in the HTML directory with the pem file, I still get the SSL warning from browsers saying "this page includes other resources which are not secure" even though I don't have any other resources. All the files are inside HTML, including images. What is causing that error to be displayed?

Also, it's not a problem on IE or Firefox. Only Chrome displays a warning saying that the page is not secure.


This problem disappeared after I restarted the browser. It now shows the correct SSL symbol. Perhaps it was a browser bug.

share|improve this question
    
Why is your PEM file in the html directory? It's not wrong as such, but this has nothing to do with the content to serve, rather it is a matter of TLS/SSL stack configuration (part of the server configuration, which will depend on the server you use). –  Bruno Sep 14 '10 at 14:02
    
Where is the best place for pem to be placed? I always thought it has to be in the same folder where the files are being accessed. –  netrox Sep 14 '10 at 19:45

1 Answer 1

Please put your update as an answer and accept it as correct :)

Besides the bug you answered with, the other time that happens is when accessing content within the page not using HTTPS. The warning isn't about the location of the files on the server. Only put files you want web-accessible in the directory; that includes your certificates.

For example, if you access a page using https:// but in your HTML you have img tags with a src using http:// (src="http://") then you'll get that mixed content warning.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.