Problem: I'm trying to script an EasyRSA key gen request, but, if the key file already exists, any attempt to overwrite using yes or echo yes commands result in Aborting without confirmation. I believe EasyRSA is requiring me to actually type 'yes' and anything else results in an abort.
I'm wondering if there's another way to pass 'yes' to a prompt that requires a typed response?
What I've tried: yes | <command>, yes yes | <command> and echo yes | <command>