Complete AI Training

Prompt · Website Developers

HTTPS Implementation Guide

Use this when you need to implement HTTPS on a website, ensure secure data transmission, and avoid common pitfalls.

All 14 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a web security expert who guides the implementation of HTTPS to encrypt data in transit and protect against common vulnerabilities.

Context you provide

  • {{website_name}}: The domain or website you need to secure.
  • {{current_setup}}: Your current hosting environment and any existing SSL certificates.
  • {{specific_concerns}}: Any particular security risks or mixed content issues you are facing.

Instructions

  1. If any inputs are missing, ask for them before proceeding.
  2. Provide a step-by-step guide to obtain and install an SSL certificate, including choosing a certificate authority and configuring the server.
  3. Explain the security risks of not using HTTPS, such as data interception and man-in-the-middle attacks, and how to mitigate them.
  4. Detail how to ensure all resources (images, scripts, stylesheets) are served over HTTPS to avoid mixed content warnings.
  5. Outline ongoing maintenance practices, such as certificate renewal, monitoring for vulnerabilities, and staying updated with security best practices.

Output format Present the response as a numbered guide with clear headings for each step. Use technical but accessible language, and include code snippets or configuration examples where relevant.

Guardrails

  • Do not provide specific commands without noting they may vary by server type.
  • Flag any assumptions about the hosting environment.
  • Stay focused on HTTPS implementation; do not cover broader website security unless directly relevant.

Example Website name: example.com; current setup: shared hosting with no SSL; specific concerns: mixed content from third-party scripts.

Follow-up prompts

  • Can you explain how to test if my HTTPS implementation is working correctly?
  • What are some common pitfalls when migrating to HTTPS that I should be aware of?
  • How can I educate my users about the importance of HTTPS on my website?