Skip to content
September 25, 2026
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • CVE Data
    • CVE Watchtower
    • Top Exploited CVEs
    • CVE Stats by Vendor
    • Q2 2026 Report
    • CVE Alerts
    • CVE Alert Settings
    • Pricing
  • Cyber Criminals
  • Data Leak
  • Free Tools
    • CVSS 3.1 Calculator
    • Certificate Viewer
    • DNS Lookup
    • Encoder & Hash Generator
    • IP / Subnet Calculator
    • Whois Lookup
  • Linux
  • Malware
  • Vulnerability
  • Submit Press Release
  • Weekly Recap
Light/Dark Button
  • Home
  • Technique
  • Install & Enable HTTPS on Apache Server
  • Technique

Install & Enable HTTPS on Apache Server

Do Son September 15, 2017 1 minute read

Install & Enable HTTPS on Apache Server

First of all, you need to have a website that can run under http. This tutorial is about Apache2, and other servers may have similar settings.

  1. Get a free SSL certificate.
    Now Let’s Encrypt offers free SSL certificate service. So we need to register an account. Then, after landing you can apply for a free SSL certificate. Finally save the requested certificate locally.
  2. Configure the Apache2 environment
    This will automatically install the SSL plugins required for Apache2.
    sudo a2enmod ssl
    
    sudo a2ensite default-ssl

    Create a default SSL site that will be in /etc/apache2/sites-enabled/ to generate a configuration file.

    In /etc/apache2/creating two folders

    cd /etc/apache2
    
    sudo mkdir ssl.key
    sudo mkdir ssl.crt

    Upload *.crt to ssl.crt folder, upload *.ssl to ssl.key folder.
    Next, we start the configuration default-ssl.conf file

    sudo vim /etc/apache2/sites-enabled/default-ssl.conf

    In which the following attributes are changed

    SSLCertificateFile     /etc/apache2/ssl.crt/2_***.crt
    
    SSLCertificateKeyFile /etc/apache2/ssl.key/3_***.key
    SSLCertificateChainFile /etc/apache2/ssl.crt/1_***.crt

    After the change is successful, restart the Apache2 service

    sudo service apache2 restart

    Finally, try to access https://YourDomain

  3. Enable https by default
    On .htaccess file, add
    RewriteEngine On
    
    RewriteBase /
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://YourDomain/ [L]

    After the creation is complete, change /etc/apache2/apache2.conf

    AllowOverride All
  4. Enjoy
SHARE
Share on FacebookShare on XShare on LinkedInShare on TelegramShare on BlueskyShare on Mastodon
Tags: Apache server https

Search

Translation

CVE ALERTS
📧

Email Delivery
Get threat intel straight to your inbox.

♾️

Unlimited Vendors
Track every technology in your stack.

🚨

All New CVE Alerts
Be the first to know about new flaws.

⚙️

Custom EPSS Threshold
Filter noise, focus on real risks.

💬

Slack & Teams Webhook
Integrate directly into your SecOps.

🚫

100% Ad-Free
Enjoy an uninterrupted reading experience.

$7/mo
Subscribe Now

🚨 Active Exploits in the Wild

  • CVE-2026-5430CVSS 10.0
    The JWT authentication mechanism accepts tokens signed with algorithms other than those explicitly configured or supported. This allows...
    CISA KEV📅 Added to KEV: Sep 24, 2026
  • CVE-2026-71362CVSS 9.1
    Adobe Commerce is affected by an Incorrect Authorization vulnerability that could result in privilege escalation. An attacker could...
    CISA KEV📅 Added to KEV: Sep 24, 2026
  • CVE-2026-48842CVSS 8.1
    Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1 has Pre-authentication SQL injection in the virtuser_query plugin via...
    Admin intel📅 Updated: Sep 23, 2026
  • CVE-2026-87902
    Unauthenticated path traversal in page-template resolution leading to conditional RCE An unauthenticated attacker can make get_page_template() page-template resolution...
    Admin intel📅 Updated: Sep 23, 2026
  • CVE-2026-94127CVSS 9.8
    When a BIG-IP APM access policy and an OAuth profile is configured on a virtual server, specific malicious...
    Admin intelCISA KEV📅 Added to KEV: Sep 22, 2026📅 Updated: Sep 22, 2026
  • CVE-2026-85102CVSS 9.8
    Improper certificate trust validation during VPN negotiation in Check Point Quantum Security Gateway may allow an unauthenticated remote...
    Admin intelCISA KEV📅 Added to KEV: Sep 22, 2026📅 Updated: Sep 22, 2026
  • CVE-2026-93616CVSS 9.8
    A directory traversal and file upload vulnerability allows an unauthenticated attacker to upload and execute arbitrary scripts on...
    Admin intelCISA KEV📅 Added to KEV: Sep 22, 2026📅 Updated: Sep 22, 2026
  • CVE-2026-93952CVSS 10.0
    VeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access...
    Admin intelCISA KEV📅 Added to KEV: Sep 22, 2026📅 Updated: Sep 22, 2026
Powered by CVE Watchtower

Critical Vulnerabilities

  • CVE-2026-14281CVSS 9.8
    The Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code plugin for WordPress is vulnerable...
    📅 Updated: Sep 25, 2026
  • CVE-2026-93399CVSS 9.1
    The Bookly plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including,...
    📅 Updated: Sep 25, 2026
  • CVE-2026-89055CVSS 9.1
    The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to authorization bypass in all versions up to,...
    📅 Updated: Sep 25, 2026
  • CVE-2026-97413CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-srv: Fix integer underflow in process_read and process_write...
    📅 Updated: Sep 25, 2026
  • CVE-2026-93228CVSS 9.1
    In the Linux kernel, the following vulnerability has been resolved: svcrdma: Reject Write/Reply chunks with segcount 0 A...
    📅 Updated: Sep 25, 2026
  • CVE-2026-93207CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Zero rpc_gss_wire_cred at svcauth_gss_decode_credbody() entry svcauth_gss_decode_credbody() writes...
    📅 Updated: Sep 25, 2026
  • CVE-2026-93577CVSS 9.9
    GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.7, 19.3 before 19.3.3,...
    📅 Updated: Sep 25, 2026
  • CVE-2026-89078CVSS 9.9
    GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.7, 19.3 before 19.3.3,...
    📅 Updated: Sep 25, 2026
Powered by CVE Watchtower

Daily CyberSecurity

  • About SecurityOnline.info
  • Advertise with us
  • Announcement
  • Contact
  • Contributor Register
  • Login
  • Disclaimer
  • DCMA
  • Privacy Policy
  • About SecurityOnline.info
  • Advertise on SecurityOnline.info
  • Contact Us

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

  • CVE Watchtower
  • CVE Statistics by Vendor 2026
  • Q2 2026 Report
  • Top Exploited CVEs
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube
© 2017 - 2026 Daily CyberSecurity. All Rights Reserved.