title: In Git-Bash-Windows `openssl pkcs12` does not prompt for password
body: <p>The SSL certificate authority sent me the signed certificate in <code>.pfx</code> format and it was password-protected; so I need to convert it to <code>.crt</code> file.</p>
  <p>The first attempt was to call <code>openssl pkcs12 -in server.pfx -out server.crt -nokeys -clcerts</code>, simply in Git-Bash Windows; but it waits forever, and there was no output nor hint. Eventually, I switched to Linux (RHEL7), and the same command worked OK. It turns out, in Linux the command prompts &quot;<code>Enter Import Password:</code>&quot;; however, running in Windows Git-Bash the it's missing the prompt for password, and will be hanging there forever.</p>
  <p>I'm wondering if there is anything to make it work in Windows Git-Bash, e.g. command argument, etc., as my work computer is still running Windows OS. Any pointers will be highly appreciated.</p>
  <p><strong>Screenshot of Linux:</strong></p>
  <pre><code>[root@host]# openssl pkcs12 -in server.pfx -out server.crt -nokeys -clcerts
  Enter Import Password:
  MAC verified OK
  [root@host]#
  </code></pre>