Jump to content

Problem with using SSL with PRESTASHOP


Recommended Posts

Hi,

 

I recently installed SSL on the server. I tested it with a sample HTML document and I am able to access it with the https protocol.

 

However when I try to access any of the prestashop pages, the server throws as HTTP 500 error. What could be the problem? When ever I access the site over the HTTP protocol, it works fine.

 

Any help us highly appreciated.

 

Thanks!

Link to comment
Share on other sites

@Benjamin Utterback

 

Thank you. I must appreciate Prestashop a lot, I am loving it so far.

 

When I go to the preferences tab, for the SSL option, I see this link 'Please click here to use HTTPS protocol before enabling SSL.' When I click it, it opens the admin panel using the HTTPS protocol and I get the same error:

 

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.kobster.com Port 443

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

@Benjamin Utterback

 

Thank you. I must appreciate Prestashop a lot, I am loving it so far.

 

When I go to the preferences tab, for the SSL option, I see this link 'Please click here to use HTTPS protocol before enabling SSL.' When I click it, it opens the admin panel using the HTTPS protocol and I get the same error:

 

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.kobster.com Port 443

 

 

I had the same problem, I eventually traced it down to a problem with my SSL certificate not being installed on the correct username on the server. My SSL was installed under the user account 'nobody' (UID 99) as instructed but once installed it needs to be updated to the user account of the website.

 

To see if you have the same problem go to enable SSL in the backoffice of PS then check your error log on your server if your certificate has been installed on the wrong user account (nobody) then you will receive an error similar to:

 

"SoftException in Application.cpp:422: Mismatch between target UID (99) and UID (503) of file"

 

If this is the case you will need to edit the http.conf file on your server to update the user account name associated with the SSL certificate. Once edited you will need to rebuild your server to push the changes live.

 

I hope this helps.

Cat

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hi,

I have prestashop 1.4.9.0 website working properly. Now i bought and installed SSL to my apache server. However, I cannot enable SSL at BO. When I click "Please click here to use HTTPS protocole before enabling SSL" system turns http to https and gives error 107 (net::ERR_SSL_PROTOCOL_ERROR)

Do i have to do another settings after SSL installed to server and before enabling it at BO.

 

Please Help

Link to comment
Share on other sites

×
×
  • Create New...