Skip to content
  • How to start learning Linux
  • Labtech Implementation Stuff
  • Clogged
  • Active Directory DNS Troubleshooting
  • Some Roulette  Strat from Reddit
  • Mystery steel processing and testing
  • Croissants and Rose Lychee Cream
  • Mac and Cheese
  • DFS Replication: Requirements and Configuration
  • Services.msc not opening in Windows 11/10
  • Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store
  • Powershell How to get all groups that a user is a member of?
  • Home Energy Saving Tips
  • Changing NTFS Security Permissions using PowerShell
  • VALORANT’S 128-TICK SERVERS

Merserver

Its a website

  • Uncategorized
  • IT
  • Unreal Engine
  • GameDev
  • Interesting Stuff
  • Food
  • Web Design
  • Kubernetes
  • Music
  • Linux
  • Toggle search form

FreePBX LetsEncrypt HTTPS Redirect Rule

Posted on January 8, 2021January 8, 2021 By samadmin

If the LetsEncrypt certificate fails to renew in the PBX and gives a weird error message try this.

SSH into the PBX and edit the .htaccess file located at

/var/www/html

In the .htaccess file set it toHTML

RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} !^/.well-known
RewriteCond %{REQUEST_URI} !^/.freepbx-known
RewriteRule ^(.*)$ https:///%{{HTTP_HOST}}%{{REQUEST_URI}} [L,R=301]
Uncategorized

Post navigation

Previous Post: Fix: Word could not create the work file when Opening Word Documents
Next Post: Full hard drive on windows 10?

Related Posts

Restricting Specific Web Sites in Internet Explorer Using Group Policy Uncategorized
DYMO label install for eClinicalworks Uncategorized
Fatal error during sysprep Uncategorized
Navicent / HCA unable to print Uncategorized
Adding a Software Token to an eclinicalworks Account Uncategorized
How to install FOP2 on freepbx Uncategorized

Copyright © 2025 Merserver.

Powered by PressBook Masonry Dark