Creating CSR's using a bat file and OpenSSL
<p>I've ran into a problem while using a bat file to automatically create a CSR.
Code:
<a href="https://i.stack.imgur.com/tIEuD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tIEuD.png" alt="enter image description here"></a></p>

<p>Which does this:
<a href="https://i.stack.imgur.com/mPuRz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mPuRz.png" alt="enter image description here"></a></p>

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

<p>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. </p>

<p>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.  </p>

<p>How do i fix this?</p>