Are you doing this for a certificate request?

openssl genrsa -des3 2048 > mykey.key
openssl req -new -key mykey.key -sha256

I do not believe that OpenSSL implements CAST.  (the -des3 tells it to
use triple-DES; you can instead use -aes256 to use AES at 256 bits.)

-Kyle H

On Thu, Jun 18, 2009 at 4:45 PM, Bizhan Gholikhamseh
(bgholikh)<bghol...@cisco.com> wrote:
> HI
> I have never used openssl and need to get some info quickly.
> I greatly appreciate if you could help me out by providing me exact
> command syntax.
>
> I am suppose to create "2048-bit RSA PGP private & public key pair".
> With a preferred CAST cipher and SHA-2 256 hash.
>
> Could I use openssl to do this?
> If so what is the command line syntax to do this?
>
> Many thanks in advance,
> B
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-us...@openssl.org
> Automated List Manager                           majord...@openssl.org
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to