Hello,
On the Internet I saw many tutorials on working with the https protocol with XAMPP. The truth is none of them works.
I would like to ask if there is any official documentation regarding the use of SSL (https) with Xampp?
<VirtualHost *:443>
DocumentRoot "c:/xampp/htdocs/_www/my-example-website-2020.com"
ServerName my-example-website-2020.com
SSLEngine on
SSLCertificateFile "c:/xampp/apache/conf/ssl.crt/server.crt"
SSLCertificateKeyFile "c:/xampp/apache/conf/ssl.key/server.key"
</VirtualHost>
Generating a RSA private key
.........................................................................................................................+++++
....................................................................................+++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:PL
State or Province Name (full name) [Some-State]:Mazowieckie
Locality Name (eg, city) []:Warszawa
Organization Name (eg, company) [Internet Widgits Pty Ltd]:CertPL
Organizational Unit Name (eg, section) []:CertPLSSL
Common Name (e.g. server FQDN or YOUR name) []:Lukas
Email Address []:mixinip158@jetsmails.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:1111
An optional company name []:CertPL
Enter pass phrase for privkey.pem:
writing RSA key
Signature ok
subject=C = PL, ST = Mazowieckie, L = Warszawa, O = CertPL, OU = CertPLSSL, CN = Lukas, emailAddress = mixinip158@jetsmails.com
Getting Private key
Could Not Find c:\xampp\apache\.rnd
1 file(s) moved.
1 file(s) moved.
-----
Das Zertifikat wurde erstellt.
The certificate was provided.
Press any key to continue . . .
Nobbie wrote:Yes, the modern browsers do not accept certificates that has been self signed. That has been different years ago. You cannot use self signed certificates therefore, you must get one from a trusted, official provider. There is one provider, its "letsencrypt", which offers certificates for free and the browsers do accept these. Most other providers are more or less expensive.
Users browsing this forum: No registered users and 69 guests