RP/TUX 9.1 - Process Crashed in SSLLoadLocalIdentity() With Invalid Private Key File (Doc ID 777915.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version: 9.1 to 9.1
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

DESCRIPTION:

SSLLoadLocalIdentity will crash when the private key file is not valid.

In the test case, the private_key.pem contains three certificates but without private key.

When call SSLLoadLocalIdentity to load this file, the process crashes at:


t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address)
Current function is _tmf90699
655 privKey->next = 0;
(dbx)where
current thread: t@1
=>[1] _tmf90699(data = 0xffffffff7ffff810), line 655 in "certutil.c"
[2] _tmf90198(ctx = 0x100101060, identityFile = 0x100101018 "private_key.pem", passPhrase = 0x100101028
"password"), line 415 in "certutil.c"
[3] main(0x1, 0xffffffff7ffff9c8, 0xffffffff7ffff9d8, 0x0, 0x420, 0x100101060), at 0x100000a88


CONFIGURATION:
Tuxedo 9.1

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms