Hi Hu,

hu wrote:

> Hi, all
> I use a script to run openssl command 'openssl sime' for signing message.
> For example, running "openssl smime -sign -inkey PrivateKey.pem". Then
> command asks me input pass PEM password. How to avoid giving password
> in a interactive way, i.e. how to pass password to command when lunching the
> command.

Use "-passin" argument! and put the password in a file well protected.

an another alternative is to not protect your private key but it is risky!

Regards


>
> Thanks
> Ji Hu
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

#-----
Averroes

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to