Skip to content

[BUG] There seems to be a problem while applying TLS. #2639

@woowadragonchan

Description

@woowadragonchan

Hi.
There is a problem while applying TLS.

Version : OpenSIPS 2.4.5
OS : Ubuntu 18.04.1 LTS

I compiled the proto_tls and tls_mgm modules in advance, and wrote the script as follows.

opensips.cfg

listen=tcp:$IP:$PORT1
listen=tls:$IP:$PORT2
...
loadmodule "proto_tls.so"
loadmodule "tls_mgm.so"
...
modparam("tls_mgm", "certificate", "/usr/local/etc/opensips/tls/rootCA/cacert.pem")
modparam("tls_mgm", "private_key", "/usr/local/etc/opensips/tls/rootCA/private/cakey.pem")
modparam("tls_mgm", "ca_list", "/usr/local/etc/opensips/tls/rootCA/cacert.pem")
modparam("tls_mgm", "ca_dir", "/usr/local/etc/opensips/tls/rootCA/")
...

creating the root certificate authority

command : opensipsctl tls rootCA

Enter PEM pass phrase: opensips
Verifying - Enter PEM pass phrase: opensips

스크린샷 2021-10-02 오전 12 38 32

Restart opensips......................

The error log is as follows

스크린샷 2021-10-02 오전 12 30 08

As mentioned above, the passphrase is opensips.
And I also checked the permissions of the folder and file on the private side.
Are there any incorrect or missing settings for private?
Ask for help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions