Search This Blog

Thursday 24 March 2022

openssl command hangs while generating .p12 file - Git Bash environment

openssl commands hangs while generating .p12 file - Git Bash environment 


 openssl command will remain hang if you are trying to generate the .p12 file from the SSL cert , the only option to come out of hung state is to use the Ctrl+C and it will not generate the .p12 file. 


The issue can be resolved to use the winpty before the openssl command and it will generate the .p12 file. 


$ openssl pkcs12 -export -in ssl_cert_file.crt -inkey ssl_crt_key_file.key -out ssl_cert_file.p12 -name "test command to generate the p12 file" 

Ctrl+C 


use the winpty command and it will work 


$ winpty openssl pkcs12 -export -in ssl_cert_file.crt -inkey ssl_crt_key_file.key -out ssl_cert_file.p12 -name "test command to generate the p12 file" 

Enter Export Password: 
Verifying - Enter Export Password:

No comments:

Oracle 19c - patch 19.22 unavailability for Windows platform

 Oracle 19c - patch 19.22 unavailability for Windows platform  Having upgraded the Oracle 11g 11.2.0.4 database to Oracle 19c 19.3.0.0.0 whi...