Make your own SSL certificate for XAMPP under Windows
Step 1
Open command line:
start>run>'cmd'
Step 2
Navigate to bin folder:
cd "C:\path\to\xampp\apache\bin"
Step 3
Type:
openssl
Step 4
Create a Local Key Pair:
genrsa -out server.key 1024
Step 5
Create a Self-Signed Certificate:
req -config "C:\path\to\xampp\apache\bin\openssl.cnf" -new -key server.key -x509 -days 700 -out server.crt
Enter required information or press enter to skip.
Step 6
Now you have two files in bin folder:
server.key copy to xampp\apache\conf\ssl.key\
server.crt copy to xampp\apache\conf\ssl.crt\
Restart Acpache
Step 1
Open command line:
start>run>'cmd'
Step 2
Navigate to bin folder:
cd "C:\path\to\xampp\apache\bin"
Step 3
Type:
openssl
Step 4
Create a Local Key Pair:
genrsa -out server.key 1024
Step 5
Create a Self-Signed Certificate:
req -config "C:\path\to\xampp\apache\bin\openssl.cnf" -new -key server.key -x509 -days 700 -out server.crt
Enter required information or press enter to skip.
Step 6
Now you have two files in bin folder:
server.key copy to xampp\apache\conf\ssl.key\
server.crt copy to xampp\apache\conf\ssl.crt\
Restart Acpache