Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is an SSL cert applied to a specific folder or also all subfolders of that folder?

If the SSL is applied to the root, will it be applied to all sub-folders?

If so why would I not always apply to root?

share|improve this question
up vote 3 down vote accepted

SSL certificates are applied to an IP Address (optionally with associated hostname). All paths on that host are then available via encryption.

A separate issue which you may be confusing SSL with is certificate-based authentication, which can be applied at the level of any URL path unit, e.g. /admin

share|improve this answer

Your Answer


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.