Skip to main content

SSL Troubles

Comments

4 comments

  • andrew.n
    My idea is that AutoSSL modified your .htaccess file where you had some specific rules for RocketChat. Have a look at that.
    0
  • Tren
    Hello Andrew, Initially, I did not have to write a rule in the .htaccess file to access RocketChat. Here is the current file, site being replaces with 'example': RewriteEngine on RewriteOptions inherit # php -- BEGIN cPanel-generated handler, do not edit # Set the "ea-php73" package as the default "PHP" programming language. AddHandler application/x-httpd-ea-php73 .php .php7 .phtml # php -- END cPanel-generated handler, do not edit # BEGIN WordPress # The directives (lines) between `BEGIN WordPress` and `END WordPress` are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END WordPress RewriteCond %{HTTP_REFERER} !^http://example.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://example.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.example.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.example.com$ [NC] RewriteCond %{HTTP_REFERER} !^https://example.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://example.com$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.example.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.example.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    0
  • andrew.n
    hmm can you see what is running on port 3000? You can do so with: netstat -ntpln
    0
  • cPanelLauren
    I have verified that the program is running and listening on port 3000. However, when I attempt to access it it redirects me to the regular https website. Any help would be greatly appreciated.

    Is the site you're running a CMS? Could you have force redirected it to HTTPS within the CMS software itself? I don't see it added to the .htaccess and that would be one of the only other places it could be added. The last place would be an Apache include. The concern I'm seeing is that the application is being redirected to https, so it doesn't seem that the issue is a matter of the port not being open.
    0

Please sign in to leave a comment.