I have a script that is generating ssl certificates for me. The screen used to work fine on my computer before and I did not change the script since I used it last time. Today I ran the script and noticed a buggy behaviour. After running the script the terminal does no longer print out characters that I type into the console. I have to close and reopen Git Bash.
I tried to find the source of the issue and finally extracted the following command:
openssl req -new -key foobar.key -out foobar.csr -config <(cat <<EOF [req] default_bits = 2048 EOF )
When I run that, the following output is printed:
error on line -1 of /proc/6180/fd/63
2292:error:02001003:system library:fopen:No such process:bss_file.c:175:fopen('/proc/6180/fd/63','rb')
2292:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:182:
2292:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:201:
When I put the content of the heredoc into a file and pass that as a parameter to
-config then the issue goes away. I cannot explain what has changed on my computer that causes this issue. How can I debug this further?