2/20/2023 0 Comments Xampp install certificate ssl![]() The Windows hosts file does not support wildcards like *.testing.dom, so you have to add every subdomain. The certificate is a wild card certificate, so you can add an unlimited number of subdomains, just add them to your hosts file too. SSLCertificateKeyFile "(your drive)\xampp\apache\conf\ssl.key\" SSLCertificateFile "(your drive)\xampp\apache\conf\ssl.crt\" Then, add the SSL virtualhost to the (your drive)\xampp\apache\conf\extra\nf like this: (remove the entries of in that file, they cause an error!) ![]() ![]() ServerAdmin "(your drive)\xampp\htdocs\ServerName testing.dom Then I go to my (your drive)\xampp\apache\conf\extra\nf and add the domain like this: Import the root certificate (ca.) with the Certificate Import Wizard, just double click and -Install Certificate-, make sure you import the root certificate in the Trusted Root Certificate Authorities Store. Then use this site to generate a certificate and private key.Ĭopy the private key in (your drive)\xampp\apache\conf\ssl.key\Ĭopy the certificate in (your drive)\xampp\apache\conf\ssl.crt\ First I add testing.dom and to my Windows hosts file in C:\Windows\System32\drivers\etc\hosts. Suppose I want to develop a ssl website, lets say testing.dom. ![]() XAMPP has ssl built in, but how to get those ssl certificates, right? I will tell you how I do it. You will get a window to chose Current User or Local Machine. I use XAMPP for site development, on Windows 10. A window will open to install the certificate. Copy the certificate in (your drive)\xampp\apache\conf\ssl.crt\ Import the root certificate (ca.) with the Certificate Import Wizard, just double click and -Install Certificate-, make sure you import the root certificate in the Trusted Root Certificate Authorities Store. SSL certificates for XAMPP WAMP Developers ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |