Jump to content

Trouble Getting SSL to work with WHMCS


mikebrant

Recommended Posts

I have been having problems getting https pages to work with WHMCS. Basically if I leave the field in the configuration blank (i.e. to not use SSL), then the user has no porblem navigating through the various pages in the client area. However as soon as I put in a URL in the configuration for SSL, the pages break and I get 404 errors when navigating to any page that presumably is supposed to use https instead of http. My setup is that I have WHMCS running on its own subdomain (the subdomain has its own SSL cert (though right now it is a self-signed cert if this makes any difference), and I have the URL's in the configuration as exactly the same URL for SSL and non-SSL (with the expception of using an "s" in https).

 

The server itself uses WHM/Cpanel.

 

Any troubleshooting thouhts would be appreciated.

Link to comment
Share on other sites

There is no redirect setup. You may have been getting the redirect based on teh fact that I just had to change my license key as I moved the whole site to a new IP address yesterday (I was having the porblem mentioned in this post before moving IP's and the move was done in part to try to solve the problem (so that I could issue a wildcard SSL cert that included the subdomain).

 

I did notice that I get different behavior in different browsers though. I IE, the address bar show the http address of the page I am trying to access with a 404 error. In Firefox it shows the https address with the 404 error.

Link to comment
Share on other sites

There is no redirect setup. You may have been getting the redirect based on teh fact that I just had to change my license key as I moved the whole site to a new IP address yesterday (I was having the porblem mentioned in this post before moving IP's and the move was done in part to try to solve the problem (so that I could issue a wildcard SSL cert that included the subdomain).

 

I did notice that I get different behavior in different browsers though. I IE, the address bar show the http address of the page I am trying to access with a 404 error. In Firefox it shows the https address with the 404 error.

 

Your https path for account.brantsolutionsgroup.com is pulling pages from your root html directory. Somehow there is a redirect or you have the path wrong. The page not found is because the files you are looking for are not in the root html folder. When trying https://account.brantsolutionsgroup.com/index.html you may get a better idea since https://account.brantsolutionsgroup.com/index.php is not there.

 

Contact Matt via support ticket if you can't find the problem and I am sure he can sort quickly.

Link to comment
Share on other sites

I have resolved the problem. Just needed to make a change to httpd.conf file to change for my https virtual host, which for some reason referenced my root directory as suspected. I guess Cpanel create it this way by default.

Thanks for help.

Great, glad you got it fixed. I haven't seen this issue before with cpanel, although we recently had some issues with the -dssl server not starting after adding or removing a cert.

 

I would invest in a trusted certificate though to eliminate warnings ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated