Now you are going to make yourself a Certificate Authority.Ĭ:/xammp/apache/crt/dev.local>openssl genrsa -aes128 -out EWWCA.key 2048 Next, we add a crt/dev.local directory under Apache and work inside this directory. Place the path to the xampp/apache/bin directory before %SystemRoot%\system32. Note, Windows 10 comes with CURL, so if you don’t add xampp/apache/bin to your path system variable, you will be running the Windows installation of CURL and not the one included with XAMMP. Rapid Environment Editor is a great tool to edit your system path with. If not, simply run SystemPropertiesAdvanced command, click the “Environment Variables” button and add the path to the end of the “Path” system variable (e.g. I assume you know how to add a directory to you Windows 10 system path already. Next, we want to add the path to OpenSSL to our path system variable so we don’t have to be in the xampp/apache/bin directory to run it. The PHP CURL configuration needs to point to this file and if you use WordPress, this root CA cert needs to be added to the WordPress includes as well.įirst install XAMPP and get it running so that you can access it’s dashboard in your browser via http. Then you will have to edit the root CA cert that CURL uses so that it can verify you SSL cert. Once you are successful at generating a root CA cert and an SSL cert, it’s a matter of setting up the XAMPP Apache configuration. Completing a CA cert and SSL cert process may complete and the certificate is still not verifiable because something was not quite right in the configuration.Īnother thing that I discovered is that copying a command from the Internet may not work correctly due to some hidden chars in the string. You can be your own Certificate Authority easy enough, but everything has to be typed correctly at the command prompt or it can fail, leaving you scratching your head. This is mostly caused by the certificates not being issues by a Certificate Authority, but rather it’s a self-signed certificate. Setting up an SSL certificate for XAMPP is pretty straight forward, but it won’t completely work if you are trying to use a private, local domain on your own computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |