How to create openssl certificate by using only single commands

2008-01-07 Thread Tran Son
Hi all. Whenever i create certificates using openssl i have to type my pass phrase and something else. Now how can i create certificate just using single commands with the pass phrase, country... in the parameter list so i dont have to type them separately. I tried some command such as -passin o

generating RSA key pair

2000-07-30 Thread son
public key is not equal to the one created with PEM_write_bio_RSAPublicKey(out,rsa) I added to genrsa.c Can someone explain the discrepency? thanks, son On Sat, 29 Jul 2000 [EMAIL PROTECTED] wrote: > genrsa only creates RSA private keys? How are rsa key pairs made using > the openssl

openssl genrsa

2000-07-29 Thread son
genrsa only creates RSA private keys? How are rsa key pairs made using the openssl application? thanks __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL

bug in d2i_DSAPublicKey / PrivateKey ?

2000-06-27 Thread son
DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); These two functions do not seem to be working. It doesn't initalize the DSA structure from pp containing the DER encoded keys. For example: void main(int argc,

Re: signing data

2000-05-03 Thread Son . To . wh98
ifying data using > the keys? > > thanks again, > son > > __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Re: signing data

2000-05-03 Thread Son . To . wh98
I am generating the DSA structure incorrectly. Do you have an example that illustrates creation of DSA keys and signing/verifying data using the keys? thanks again, son __ OpenSSL Project http://

signing data

2000-05-02 Thread Son . To . wh98
I am trying to sign data using DSA. My code fails on EVP_SignFinal(). It fails on line 92 in p_sign.c . I think there is something wrong with the way I created EVP_MD_CTX structure for EVP_SignInit(). Any help is appreciated. Here is my code #include #include #include #include int main(int

openssl and sslava

1999-05-27 Thread son
has anyone try openssl with sslava? I want a sslava client talk to a openssl daemon. the openssl daemon displays the following error 17181:error:1408F10B:SSLroutines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:244: I traced the error to SSL_accept() while the sslava client display the fol

sample code

1999-04-23 Thread son
create an SSL enabled server my code crashes when I connect the socket descriptor to the SSL "handle" using SSL_set_fd(ssl,newsockfd) My code is below. can anyone help? thanks, Son --- this is compiled on Redhat 5.2 gcc -o t ssl_biotest.c -DNOPROTO -I/opt/openssl/include -L/opt/openssl/