makecert.bat fails

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

makecert.bat fails

Postby oldcelt » 29. August 2020 10:37

makecert.bat fails and previous threads do not provide the answer. Just as a previous poster, I run the batch file and get:-

The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Could Not Find C:\xampp\apache\cert\.rnd
Could Not Find C:\xampp\apache\cert\privkey.pem
Could Not Find C:\xampp\apache\cert\server.csr
The system cannot find the file specified.
The system cannot find the file specified.

-----
Das Zertifikat wurde erstellt.
The certificate was provided.

Press any key to continue . . .

The problem is that as soon as I press any key the command screen simply shuts down and no certificate has been created!
oldcelt
 
Posts: 2
Joined: 27. June 2020 14:41
XAMPP version: 3.2.4
Operating System: Windows 10 pro 64 bit

Re: makecert.bat fails

Postby gsmith » 30. August 2020 21:18

The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Could Not Find C:\xampp\apache\cert\.rnd
Could Not Find C:\xampp\apache\cert\privkey.pem
Could Not Find C:\xampp\apache\cert\server.csr
The system cannot find the file specified.
The system cannot find the file specified.

-----
Das Zertifikat wurde erstellt.
The certificate was provided.

Press any key to continue . . .

Easy to repeat if I create the cert folder and move makecert.bat into it and run from there.
I will assume that is what you did. That batch file is written to be run only from C:\xampp\apache.

So put it back in C:\xampp\apache and run it from there.

It will clean up after itself nicely and you will find new server.crt & server.key files in
C:\xampp\apache\conf\ssl.crt
C:\xampp\apache\conf\ssl.key
gsmith
 
Posts: 268
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 87 guests