use openssl engine pre command
                   supply PIN to ssl engine
                
            
            
        
                             
                             In order to use a parent key with a password you have to run openssl als single command and issue the sub-commands interactively
openssl
> engine ... -pre PID:mysecret
> req ...
