Hi there,
Having custom TLS config in tls.cfg, RPC `tls.options` seems to report default settings. Bug or intended?
root@kam:/# kamcmd version
kamailio 5.3.2 (x86_64/linux) 0bed10
root@kam:/# kamcmd tls.options
{
force_run: 0
method: TLSv1
verify_certificate: 0
verify_depth: 9
require_certificate: 0
private_key: /usr/local/etc/kamailio/cert.pem
ca_list:
certificate: /usr/local/etc/kamailio/cert.pem
cipher_list:
session_cache: 0
session_id: kamailio-tls-5.x.y
config: /usr/local/etc/kamailio/tls.cfg
...
}
modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
root@kam:/usr/local/etc/kamailio# cat tls.cfg
[server:default]
method = TLSv1.2+
verify_certificate = yes
require_certificate = yes
private_key = /tmp/privkey.pem
certificate = /tmp/fullchain.pem
ca_list = /etc/ssl/certs/ca-certificates.crt
[client:default]
method = TLSv1.2+
verify_certificate = yes
require_certificate = yes
private_key = /tmp/privkey.pem
certificate = /tmp/fullchain.pem
ca_list = /etc/ssl/certs/ca-certificates.crt
Cheers.