Hi people...
I have imported my site to Xampp but the following error occurs:
ERR_SSL_SERVER_CERT_BAD_FORMAT
Do I need to install the SSL certificate in Xampp?
Thanke
Nobbie wrote:If you want to use https instead of http, then you have to install a valid certificate for SSL. Xampp does not come with SSL certificate.
JoseZabaleta wrote:Since my online site uses https, do I need to install the certificate in Xampp to be able to work locally?
Nobbie wrote:JoseZabaleta wrote:Since my online site uses https, do I need to install the certificate in Xampp to be able to work locally?
Actually, you dont need a certificate and you dont need to run it in https: protocoll.
If you start it via http:// but you get the error message from above, i think that your app is doing a redirect to https: (usually for safety reasons, but these do not apply for local development). This is mostly done in .htaccess with Rewrite or Redirect (should be easyly to find), or it is done in the PHP script via Location Header (not so easy to find, but i dont think that this is the case, because mostly it is done with .htaccess or with Apache configuration). Anyway, you have to find the redirect to https: and delete it. The app itself should run as http: as well as https:, as this only affects the traffic between the browser and the server, but not the app itself.
First of all, simply start your app via http:// - maybe it already works.
Users browsing this forum: No registered users and 226 guests