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 EBS Cloud manager deployment on OCI

 Please follow the Oracle support document. Deploying Oracle E-Business Suite Cloud Manager Version 20.1.1.X on Oracle Cloud Infrastructure ...