Re: [CentOS] bash script input password automatically.

2022-07-26 Thread Strahil Nikolov via CentOS
Or just try:echo PASS | your_script.sh If it needs to answer multie prompts:echo -e 'USER\nPASS' | your_script.sh Best Regards,Strahil NikolovĀ  On Fri, Jul 22, 2022 at 23:06, Paul Heinlein wrote: On Fri, 22 Jul 2022, Kaushal Shriyan wrote: > Hi, > > I have the below commands to generate k

Re: [CentOS] bash script input password automatically.

2022-07-22 Thread Paul Heinlein
On Fri, 22 Jul 2022, Kaushal Shriyan wrote: Hi, I have the below commands to generate keystore.pkcs12 and keystore.jks files on CentOS Linux release 7.9.2009 (Core) openssl pkcs12 -export -clcerts -in fullchain1.pem -inkey privkey1.pem -out keystore.pkcs12 -name javasso keytool -importkeystore

[CentOS] bash script input password automatically.

2022-07-22 Thread Kaushal Shriyan
Hi, I have the below commands to generate keystore.pkcs12 and keystore.jks files on CentOS Linux release 7.9.2009 (Core) openssl pkcs12 -export -clcerts -in fullchain1.pem -inkey privkey1.pem -out keystore.pkcs12 -name javasso keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype pkc