11/29/2023 0 Comments Xampp ssl portThis tells the server where to find the appropriate files. In addition, we still need to provide information about our SSL certificate and key. The DocumentRoot directory, ServerName, and ServerAlias specifications are identical. The HTTPS requests are defined via the second block. SSLCertificateKeyFile "conf/ssl.key/server.key" SSLCertificateFile "conf/ssl.crt/server.crt" Under DocumentRoot we can specify the root directory. The first block applies to all requests over port 80 and looks something like the blocks from the first tutorial. In the following, we'll define the URL, which can then be called with both and afterwards. In the next step, we have to set up a new VirtualHost for each domain within the file C:\xampp\apache\conf\extra\nf similar to what we did in the first tutorial.Īt this point, it's important to know that HTTP is running on port 80, but SSL is on port 443. The ready certificate was placed in the folders C:\xampp\apache\conf\ssl.crt and C:\xampp\apache\conf\ssl.key, provided we installed XAMPP in C:\xampp. Now our certificate has been created and this step is done. ![]() server FQDN or YOUR name) :localhostĮmail Address enter the following 'extra' attributes Organizational Unit Name (eg, section) :WEBĬommon Name (e.g. ![]() If you enter '.', the field will be left blank. There are quite a few fields but you can leave some blankįor some fields there will be a default value, ![]() What you are about to enter is what is called a Distinguished Name or a DN. You are about to be asked to enter information that will be incorporated 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |