key generation problem

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
perezjo
Sr. Member
Sr. Member
Posts: 14
Joined: 27 Mar 2014, 10:46

key generation problem

Post by perezjo »

Hi,
I have implemented security in my server following the examples you provide http://documentation.unified-automation ... rity1.html
But there is a problem with the RSA key pair generation. In file uaserver_p_pki.c the instrucion

Code: Select all

pRsaKeyPair = RSA_generate_key ( a_iBits, 0x10001, 0, 0 );

is returning NULL and it shouldn't.
The OS is VxWorks 6.8 and the OpenSSL version is 0.9.8. What can be happening?
Thanks.

Best regards.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3069
Joined: 18 Mar 2011, 15:09

Re: key generation problem

Post by Support Team »

Hello,

Please send your support request with your customer ID to support@unifiedautomation.com
Thank you.

Best regards
Support Team

Post Reply