[OpenSIPS-Users] TLS_MGM module with DB(MYSQL)

Saurabh Chopra saurabhc at 3clogic.com
Tue May 25 13:17:29 EST 2021


Hi Opensips Team/Razvan,

I am using the TLS_MGM module to validate my certificate file through a
database (mysql) but getting the below error.

May 25 12:41:28 ip-20-0-36-64 /usr/local/sbin/opensips[16297]:
NOTICE:tls_mgm:init_tls_dom: no crl for tls, using none
May 25 12:41:28 ip-20-0-36-64 /usr/local/sbin/opensips[16297]:
*ERROR:tls_mgm:load_certificate_db:
Unable to load certificate from buffer*
May 25 12:41:28 ip-20-0-36-64 /usr/local/sbin/opensips[16297]:
WARNING:tls_mgm:init_tls_domains: Failed to init TLS domain 'default',
skipping...

The data i have put in DB is depicted below:-

insert into tls_mgm
(id,domain,match_ip_address,match_sip_domain,type,method,verify_cert,require_cert,certificate,private_key,crl_check_all,crl_dir,ca_list,ca_dir,
cipher_list,dh_params,ec_curve) values
('1','default','20.0.xx.xx:443','','1','SSLv23','1','0','xxxx2021.der','xxxx.der','0','','xxxxx2021.der','','ALL','','');

*.der* files are the binary file for certificate file, private key file and
ca_list .  However the same is working fine through the configuration
script.

Can anybody confirm what I am doing wrong ?


Best Regards
Saurabh Chopra
+918861979979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210525/dfbc1df3/attachment.html>


More information about the Users mailing list