Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8732355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:25:30+00:00 2026-06-13T09:25:30+00:00

I have a certificate installed on my web server. If I just want one

  • 0

I have a certificate installed on my web server. If I just want one page to be accessed through ssl, what do I need to mark up on the page, or is another setting somewhere else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:25:31+00:00Added an answer on June 13, 2026 at 9:25 am

    In short, the only reliable way is to link to it using an https:// URL only. Ideally, you should make sure that your users expect HTTPS to be used, and that they will check that it’s used properly (i.e. they won’t ignore browser warnings).

    Anything that’s enforced on the server after a plain HTTP request is potentially vulnerable to MITM attacks. This include redirect methods via mod_rewrite, PHP headers (Location headers), JavaScript (extracting window.location), …, and of course, the initial delivery of the https:// link itself, if it’s obtained from a page served over plain HTTP. Even a denial of access due to something like SSLRequireSSL is only effective after a plain HTTP request has been received.

    It’s not a bad idea to use these redirection techniques, if only to get your users used to the fact they’re using HTTPS (they may notice something odd if on another occasion they’re not, which would possibly indicate a MITM attack), and they should at least protect them against passive eavesdropping attacks.

    More generally, even if you are serving http://www.example.com and https://www.example.com with the same host name (and possibly the same server software), they are technically two distinct hosts (e.g. virtual hosts in the Apache Httpd terminology) and resources hosted on one need not be hosted on the other. Simply don’t server the pages you only want via HTTPS on your plain HTTP host. I’d also suggest not to use redirects (at least during the development phase), so that it breaks when you’re not linking to those pages using HTTPS: this will help detect potential mixed-content problems. The automatic redirects are mainly useful for users who type in the address directly into their browsers.

    You could consider getting your site in the pre-loaded HTTP Strict Transport Security lists (or at least use HSTS, which would make the browser remember to use HTTPS only after it has worked at least once), but this will apply to the entire host.

    You can find more details in these answers, on Security.SE and on Webmasters.SE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just installed a new ssl certificate on GlassFish 3. I also changed
I have a client program that talks to a web server through a SSL
For an application, I need to have a SSL certificate for a WCF service,
I have a website on Server A which users access via SSL (i.e. through
I have created a certificate using the following SSL command: makecert -r -pe -n
I have a website hosted on my web server contacting a secure web service
I've been experimenting with OpenID, and have set up a sample web page to
I have a web service deployed on tomcat hosted on a remote server. I
I have a web based application that uses a self signed certificate. When you
We have a Win 2008 server running IIS7. The webserver runs several sites, one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.