Please try this but first make a backup of files used by dragging and holding down the Ctrl key to make Copy of files.
The makecert.bat file uses the configurations stored in the openssl.conf file in the \xampp\apache\bin folder which looks simply like a shortcut file named
openssl just above the openssl.exe but is readable and editable by dragging the shortcut into your text editor (I use NoteTab a Windows Notepad substitute but Notepad is fine if it does not append .txt to every file it saves - configurable).
Look for this line and change 1024 to 2048 like so:
- Code: Select all
####################################################################
[ req ]
default_bits = 1024
To:
- Code: Select all
####################################################################
[ req ]
default_bits = 2048
then save it.
Now, when you execute the makecert.bat file, you should see in the first screen:
Loading 'screen' into random state - done
Generating a 2048 bit RSA private key
...............................+++
............................................+++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
If all is now working as it should then you may, if you wish, clean up by deleting your backup Copy of files.
Best wishes and good luck.