SSL Certificate and Enabling Secure Connection.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SSL Certificate and Enabling Secure Connection.

Postby MHPhotography » 20. June 2022 11:54

Hello guys as in topic I'm looking for guidance on configuring and enabling SSL connection on self hosted Windows 10 machine.
I have tried to follow few of google acquired manuals but they seems to be outdated. Most of them asking me to mess about with vhost configuration but as soon as I modify this configuration file I'm getting error messages and Apache fails to start. I have forwarded ports 85 for http and 4433 for SSL in my router ,
there is no problem with reaching my website on both ports but both are unsecured http versions , on Linux i have been using self signed certificate but with Windows I'm moving around like blind. I'm using XAMPP 7.4 package from official website.
Image
MHPhotography
 
Posts: 1
Joined: 20. June 2022 11:42
Location: Glasgow
XAMPP version: 7.4
Operating System: Windows 10 Pro

Re: SSL Certificate and Enabling Secure Connection.

Postby Nobbie » 20. June 2022 22:11

Aha.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: SSL Certificate and Enabling Secure Connection.

Postby muhadafama » 22. June 2022 03:55

C:\xampp\apache>makecert
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]:Ng
State or Province Name (full name) [Some-State]:Abuja
Locality Name (eg, city) []:Gwagwalada
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Muhadafama & Sons
Organizational Unit Name (eg, section) []:.
Common Name (e.g. server FQDN or YOUR name) []:localhost
Email Address []:.

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Enter pass phrase for privkey.pem:
writing RSA key
Signature ok
subject=C = Ng, ST = Abuja, L = Gwagwalada, O = Muhadafama & Sons, CN = localhost
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 . . .
muhadafama
 
Posts: 1
Joined: 22. June 2022 03:49
XAMPP version: 3.3
Operating System: windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 227 guests