Dear SIPp Community,

I hope this message finds you well.

I am currently facing an issue while running a SIPp XML scenario over TLS.
Upon execution, I receive the following error message:
TLS_init_context: SSL_CTX_use_certificate_file failed:
error:02001002:system library:fopen:No such file or directory.

It seems that SIPp is unable to locate the required certificate file during
the TLS initialization process. I have ensured that OpenSSL is properly
installed on the system and that all necessary header files are present.
However, despite these checks, the issue persists.

Could you kindly assist me in identifying the cause of this error and
provide guidance on resolving the issue? Specifically, I would appreciate
your advice on how to correctly configure SIPp to load the required
certificate file for TLS communication.

On Sat, Aug 24, 2024, 3:42 AM Jafar Sarif <sapan76...@gmail.com> wrote:

> I will try installing the new version.
> Thanks for your help.
>
> On Sat, Aug 24, 2024, 3:40 AM Jafar Sarif <sapan76...@gmail.com> wrote:
>
>> Hi,
>> I am using SIPp 3.3V which uses makefile for its build system.
>>
>> On Sat, Aug 24, 2024, 3:25 AM mayamatakeshi <mayamatake...@gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Sat, Aug 24, 2024 at 6:44 AM Jafar Sarif <sapan76...@gmail.com>
>>> wrote:
>>>
>>>> I am writing to seek assistance with compiling SIPp to enable TLS
>>>> support. I have successfully installed SIPp but encountered difficulties
>>>> when attempting to compile it with TLS support.
>>>>
>>>> *Issue* *Details:*
>>>>
>>>> Current Installation: I have SIPp version 3.3 installed, but it was
>>>> compiled without TLS support.
>>>>
>>>> OpenSSL Installation: I have confirmed that OpenSSL is installed and
>>>> working correctly on my system. The OpenSSL libraries and headers are
>>>> available, and I have verified their installation with the following
>>>> commands:
>>>>
>>>> 1. *openssl* *version* shows:
>>>> OpenSSL 1.1.1k FIPS 25 Mar 2021
>>>>
>>>> 2. The headers are present in /*usr/include/openss*
>>>>
>>>> 3. The libraries are located in /*usr/lib*, including *libssl* and
>>>> *libcrypto*
>>>>
>>>>
>>>> *Compilation Attempt:*
>>>>  I set the environment variables for OpenSSL:
>>>>
>>>> *export CFLAGS="-I/usr/include/openssl"*
>>>>
>>>> *export LDFLAGS="-L/usr/lib -lssl -lcrypto"*
>>>>
>>>> After setting these variables, I ran *make* *clean* followed by *make*
>>>> in the SIPp directory, but the issue persists.
>>>>
>>>> *Error Message:* When I attempt to use TLS with SIPp, it gives the
>>>> message: “To use a TLS transport you must compile SIPp with OpenSSL.”
>>>>
>>>> Request:
>>>>
>>>> I would appreciate any guidance or steps to ensure that SIPp is
>>>> compiled correctly with TLS support. If there are specific steps or
>>>> configurations needed to resolve this issue, please let me know.
>>>>
>>>> Thank you for your assistance.
>>>>
>>>>
>>> Hi,
>>> I think you skipped the instruction from
>>> https://github.com/SIPp/sipp?tab=readme-ov-file#building
>>> There is no need to export such variables.
>>> SIPp is built using cmake so you should do something like:
>>>
>>> cmake . -DUSE_SSL=1
>>> make
>>> make install
>>>
>>>
>>>
>>>
>>>
>>>
>>
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to