0

I've ran into a problem while using a bat file to automatically create a CSR. Code: enter image description here

Which does this: enter image description here

Where it says "Country Name (2 letter code) [AU]:", it was suppose to put "UK" after the colon.

I believe this is happening because the "@Openssl req -out .csr -new -newkey rsa:2048 -nodes -keyout .key" initializes the CSR creation and everything after it is not being inputted into the console.

You can see I've even tried timing out the console so once the initialization of the CSR has finished the bat file would carry on inputting the commands but the timeout has been unsuccessful.

How do i fix this?

0 Answers0