Re: [openssl-users] SSL_CTX_check_private_key:no certificate assigned

2015-03-01 Thread dE
On 03/01/15 19:43, Dr. Stephen Henson wrote: On Sun, Mar 01, 2015, dE wrote: Hi! I'm trying to create a certificate using openssl library. Here is the code -- void main () { SSL_library_init(); SSL_load_error_strings(); OpenSSL_add_all_algorithms(); char err[1000]; RS

Re: [openssl-users] SSL_CTX_check_private_key:no certificate assigned

2015-03-01 Thread Dr. Stephen Henson
On Sun, Mar 01, 2015, dE wrote: > Hi! > > I'm trying to create a certificate using openssl library. Here is > the code -- > > void main () { > SSL_library_init(); > SSL_load_error_strings(); > OpenSSL_add_all_algorithms(); > char err[1000]; > RSA* keypair = RSA_new(); > B

[openssl-users] SSL_CTX_check_private_key:no certificate assigned

2015-03-01 Thread dE
Hi! I'm trying to create a certificate using openssl library. Here is the code -- void main () { SSL_library_init(); SSL_load_error_strings(); OpenSSL_add_all_algorithms(); char err[1000]; RSA* keypair = RSA_new(); BIGNUM *e = BN_new(); X509 *certificate = X509_new(