The whole procedure looks like this: Generating a 2048 bit RSA private key Finally we have to repeat the password from the beginning again, then the certificate is created. As a "Common Name" we enter the name of our URL. This information will be used later in our certificate. Here we can basically enter what we want or type in a point if we want to leave the field blank. Further questions follow, such as country (Country Name) or company (Organization Name). Here we can enter any password of our desire and then repeat it. First we have to enter a password for our key, that should look like this. In this folder we find the file makecert.bat, with a double-click on the file we can start the script.Īfter starting the script, the command line opens, where we only need to follow the instructions.The script can be found in the Apache folder of the XAMPP installation, in a standard installation on Windows this is the path: C:\xampp\apache.Luckily, XAMPP already has a little script ready for us that we can use and open like this: Create Certificateįirst, we have to create our own SSL certificate. In order to allow also HTTPS, the following steps are necessary additionally. After this setup, all domains can only be accessed via HTTP. In my tutorial about virtual domains, I had already explained the basics of how to define domains with XAMPP and Apache, which can then point to a local directory in the XAMPP installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |