Re: Can PEM_read_RSAPublicKey() load public key from private key ?

2008-04-13 Thread Th�nh Trung Nguy#7877;n
Hi shankar, Thanks you for your answer ! You said we can not get public key from a private key . Then you said So PEM_read_RSAPublicKey() or PEM_read_RSA_PUBKEY() can be used to load public key from a private key I'm being confused. Did you mean we those 2 functions can not be use to load

Re: Can PEM_read_RSAPublicKey() load public key from private key ?

2008-04-13 Thread Dr. Stephen Henson
On Sat, Apr 12, 2008, Thnh Trung Nguy#7877;n wrote: Hi ! I used PEM_write_RSAPrivateKey() to write private key to a pem file. Then I used PEM_read_RSAPublicKey() to read public key from that file, but it returned an error. The ERR_error_string() only return message like :

Re: Can PEM_read_RSAPublicKey() load public key from private key ?

2008-04-13 Thread Th�nh Trung Nguy#7877;n
Thanks ! I forgot the FAQ, sorry ! Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Sat, Apr 12, 2008, Thnh Trung Nguyễn wrote: Hi ! I used PEM_write_RSAPrivateKey() to write private key to a pem file. Then I used PEM_read_RSAPublicKey() to read public key from that file, but it returned

Re: Can PEM_read_RSAPublicKey() load public key from private key ?

2008-04-13 Thread Marek . Marcola
Hello, One thing I will conform you is we can not get public key from a private key . I do not remember where i studied , but it is true. So do not try to get a public key from private key. This is not true. Best regards, -- Marek Marcola [EMAIL PROTECTED]

error when trying to use Net::SSLeay perl module under IIS6

2008-04-13 Thread DAVID NEILL
This list was given as a place to ask general questions regarding the Net::SSLeay module for perl. I'm having success using the module in a perl command-line script to perform an authenticated login to my mail server to send E-mail. When I try to adapt the same code to work from a CGI script