Create a trusted security certificate SSL on XAMPP

Asked By 0 points N/A Posted on -


I just installed XAMPP version 1.7.4 on my laptop. When I access the localhost, using a secure connection (SSL, using https) it gave a warning about security certificates. The warning goes like this “The site’s security certificate is not trusted!”.

Well, I don’t know much about this, but how making a trusted certificate anyway? Does anyone concern about this thing or just ignore it?


The site's security certificate is not trusted!

The site's security certificate is not

You attempted to reach localhost, but the server presented a 
certificate issued by an entity that is not trusted by your computer's 
operating system. This may mean that the server has generated its 
own security credentials, which Google Chrome cannot rely on for 
identity information, or an attacker may be trying to intercept your 
communications. You should not proceed, especially if you have 
never seen this warning before for this site.
Best Answer by Jeffrey Santiago
Best Answer
Best Answer
Answered By 0 points N/A #120191

Create a trusted security certificate SSL on XAMPP



  • Security Certificate is not trusted means it's unknown certifying authority. This is either caused by computer browser settings and or your computer's clock is not synchronized in the standard time in your area.
  • Security certificate usually provides you 2 or 3 options, either to Proceed, back up and or closed the browser and try different websites, just like what you have in your screenshot.
  • Proceed-anyway – This gives you options to always validate before you can go to the next page. It's risky to do this because you’re putting yourself in place with has low security protection.
  • Back-to-safety – Only options is to go back to the previous website you have visited and don't go back to the website.
  • Close the browser – Closing the browser itself.

There are numbers of solutions to this issue, updating your browser is one of the few steps to resolved this issue.

  • Delete Security Certificate. Go to Tools, Internet Options, Click on Content tab and click on clear SSL state.
Delete Security Certificate
  • You may get new Certificate by downloading the software. Here's the link and follow the instructions.
  • You may update your time and date. Check your clock in the system tray and you will notice that it's not up-to-date. Double click the clock in the lower right hand side, then adjust the clock by pressing the arrow up/down, adjust the date by choosing the correct month/day/year.
May update your time and date
Answered By 0 points N/A #120192

Create a trusted security certificate SSL on XAMPP


Hello Peter,

Here I have a way by which you can make your own SSL certificate for Xampp.

  1. Firstly Stop Your Apache server from your xampp control panel.
  2. And then open your Xamppphp directly. There you will find libeay32.dll and ssleay32.dll named two dll files.
  3. And then Just copy these two files and replace with the files in directory xamppapachebin. But make sure you have backup for these files.
  4. And now edit your php.ini file in xamppapachebin in any text editor and remove the semicolon from “; extension=php_openssl. dell” and save it in the same directory.

Now You can start your Apache server and see your SSL has been activated.

In Future if You Ever Want to deactivate it just replace the files with your backup files and also rollback your changes in the php.ini file.

Login/Register to Answer

Related Questions