8/27/2023 0 Comments Xampp ssl certificate localhostIt has a chance that you change the PHP version for other projects and forget to swtich back to the correct PHP version of the project that requests to use AWS S3. If you have multiple PHP versions on your environment, you should check the correct php version of the current project which requests to use AWS S3.Add Subject Alternative Name to openssl-temp.cnf, under v3ca: v3ca subjectAltName DNS:localhost. From there, navigate to the conf folder > extra folder > nf file. or on Linux: cp /etc/ssl/openssl.cnf /openssl-temp.cnf. It should fix the cURL error 60 issue like mine. The directory specified should contain the Apache folder. Finally, restart the WampServer to take the effect on your localhost.Below is my example in php.ini.Ĭurl.cainfo = "E:\wamp64\bin\php\php7.4.24\extras\ssl\cacert.pem" You want to uncomment it and add the absolute path for the cacert.pem. This php.ini will remove the “cURL error 60” when you update the frameworks(eg: CraftCMS) via the terminal. ServerAlias DocumentRoot "e:/wamp64/www/yellowdev/web" Basically, we add the new visual host for HTTPS. And add the code below under which is located at the end of file. Next, open nf ( E:\wamp64\bin\apache\apache2.4.46\conf\extra).Once you create a new Virtual Host, restart WampServer to take the effect.You will enable it back when your new Virtual Host is created.) (If you use Windows, make sure you disable the antivirus to protect Windows hosts files from changes before adding new Virtual Host via WampServer. In my case, the new project is yellowdev.local. Add new Virtual Host for my new project.Let’s say I want to add a new project on WampServer. In order to use “ for them, I need to add the virtual host for them in nf. 588) Featured on Meta Starting the Prompt. Jamstack is evolving toward a composable web (Ep. The Overflow Blog Exploring the infrastructure and code behind modern edge functions. They still can use “ as normal but they can not use “ yet. Open Windows Explorer and go to the following directory: C:/xampp/apache/conf/extra/ Then find the file called nf and open it in your favourite code editor. xampp ssl-certificate or ask your own question. In my case, I already had many projects before implementing the self-signed certificate. Additional How to create a new project with SSL setting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |