Re: [openssl-users] It reported verify error:num=20:unable to get local issuer certificate in my embedded linux device, when I used the openssl command

2016-12-13 Thread Jakob Bohm
On 14/12/2016 08:30, 杨俊 wrote: Hi openssl-er, I'm newbie in the openssl. Recently, I ported the openssl to my embedded linux device and ran the openssl command. But there was an error occured. I had done google search a lot, but I didn't find the answer. My issue is strange, my test steps lik

[openssl-users] It reported verify error:num=20:unable to get local issuer certificate in my embedded linux device, when I used the openssl command

2016-12-13 Thread 杨俊
Hi openssl-er, I'm newbie in the openssl. Recently, I ported the openssl to my embedded linux device and ran the openssl command. But there was an error occured. I had done google search a lot, but I didn't find the answer. My issue is strange, my test steps like below: 1. copy the openssl, libs,

Re: [openssl-users] Signing an XML file

2016-12-13 Thread Anibal F. Martinez Cortina
2016-12-13 22:54 GMT-03:00 Salz, Rich : > > Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ > users? > > Look at the apps/pkcs7.c file as a starting point. Get the command line > doing what you want, and then work through the code to pull out only the > bits you need. > >

Re: [openssl-users] Signing an XML file

2016-12-13 Thread Salz, Rich
> Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ users? Look at the apps/pkcs7.c file as a starting point. Get the command line doing what you want, and then work through the code to pull out only the bits you need. -- openssl-users mailing list To unsubscribe: https:

[openssl-users] Signing an XML file

2016-12-13 Thread Anibal F. Martinez Cortina
Hello everyone, I'm trying to sign an XML file, need to do so with pkcs#7. Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ users? In particular, I'm using Qt as framework, but have also got OpenSSL libs and headers installed. The target platform is Microsoft Windows (x32) K

Re: [openssl-users] AECDH problem: works in 1.0.2, fails in 1.1

2016-12-13 Thread Matt Caswell
On 13/12/16 21:09, Norm Green wrote: > I have a simple C program that works in 1.0.2 but fails with the same > code in 1.1. > Here's the psuedo code for the client and server: > > Server: > const SSL_METHOD *meth = TLSv1_2_server_method(); > SSL_CTX *ctx = SSL_CTX_new(meth); > SSL_CTX_set_

[openssl-users] AECDH problem: works in 1.0.2, fails in 1.1

2016-12-13 Thread Norm Green
I have a simple C program that works in 1.0.2 but fails with the same code in 1.1. Here's the psuedo code for the client and server: Server: const SSL_METHOD *meth = TLSv1_2_server_method(); SSL_CTX *ctx = SSL_CTX_new(meth); SSL_CTX_set_ecdh_auto(ctx, 1); SSL_CTX_set_mode(ctx, SSL_MODE_A