Jump to content

404 Not Found after Enable SSL on all pages


Recommended Posts

Hi

 

My partner bought a prestashop from a third party called BigBuy. They are in Spain. No habla mucho ingles. So thats an issue from the start. They will not help or support SSL for her shop. They say its uneccesary and unsupported. This is a real problem as this leaves the shop insecure and won't be high in the search list for search engines (Im told). So I am trying to implement the SSL certificates on her Prestashop so we can start trading securely. Ive been in IT 20 years and the attitude around this from the provider is really quite woeful. Im trying to help but realise the limitations of my unix skills (Im good but no RHCE!!)

 

I carried out the CSR process,

- generated a key (called apache.key).

- I went to StartSSL for a certificate and bundle using the CSR i generated.

- I have uploaded these to a folder under /etc/apache2/certs.

- I have renamed them to apache.pem (the cert) and apache bundle.crt (the bundle).

- I enabled the SSL service with a2enmod.

- I have promoted the default-ssl to sites-enabled using a2ensite.

- I have made the path amendments with default-ssl for the new keys and certs

 

        #   A self-signed (snakeoil) certificate can be created by installing

        #   the ssl-cert package. See

        #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.

        #   If both key and certificate are stored in the same file, only the

        #   SSLCertificateFile directive is needed.

        #SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem

        #SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

 

        SSLCertificateFile    /etc/apache2/certs/apache.pem

        SSLCertificateKeyFile /etc/apache2/certs/apache.key

 

        #   Server Certificate Chain:

        #   Point SSLCertificateChainFile at a file containing the

        #   concatenation of PEM encoded CA certificates which form the

        #   certificate chain for the server certificate. Alternatively

        #   the referenced file can be the same as SSLCertificateFile

        #   when the CA certificates are directly appended to the server

        #   certificate for convinience.

        #SSLCertificateChainFile /etc/apache2/ssl.crt/server-ca.crt

 

        SSLCertificateChainFile /etc/apache2/certs/apachebundle.crt

 

The site works fine on port 80 http requests. As soon as I go into Backoffice>Preferences>General and turn on Enable SSL on all pages, I get a basic (non Prestashop) 404

Not Found

The requested URL /en/ was not found on this server.

 

If I turn this setting off the site comes back as it listens again on port 80 http requests

 

Im now at a loss to know what to do. The directory in question exists because port 80 requests find it. But for some reason port 443 cannot.

 

Im clearly missing some key piece of the puzzle here. Can someone with greater knowledge than I have help me with this problem please? The site is www.mamasimpsonsshop.com. Currently Enable SSL on all Pages is set to off. Also with the setting on I can get to the Backoffice and I dont get a 404 for that page. So some of the site works with SSL, but the Front Office does not work.

 

Thanking you in advance for any help you may be able to give.

Link to comment
Share on other sites

I have also just tried to go to the payments section with Enable SSL switch ON and get the same 404 page as described above. The rest of the site works fine however

 

UPDATE. As a test I created self-signed certificates for the server and implemented these. Im still getting the same behaviour. I think that rules the certificates themselves out as being the problem.

Edited by hargy (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...