-
Notifications
You must be signed in to change notification settings - Fork 633
Description
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
Restart opensips......................
The error log is as follows
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.

