Bug#960587: janus: Server does not start out of the box, wrong key path
Santiago Vila
sanvila at unex.es
Thu May 14 10:54:28 BST 2020
Package: janus
Version: 0.9.2-1~bpo10+1
Tags: patch
Dear maintainer:
After installing janus from buster-backports on a Debian 10 system,
I noticed that it does not start and this message is shown in the logs:
[FATAL] [dtls.c:janus_dtls_load_keys:343] Error opening key file
I fixed the problem for now by applying the patch below.
Yes, I should use a real certificate instead, but we can reasonable
assume that the intent of having a default config file referencing
snakeoil certificates (as done by postfix, for example), is to have
the package up and running as soon as possible, therefore I believe
the default config file for this janus backport should reference
the real path of snakeoil certificates in buster.
Please note that I have not tested the package in testing. Maybe
snakeoil certificates in testing are now in /etc/ssl/certs, but even
in this case, it would still a good idea to reference the path in buster
for the buster backport.
Thanks a lot.
--- a/janus/janus.jcfg
+++ b/janus/janus.jcfg
@@ -104,7 +104,7 @@ general: {
# Certificate and key to use for DTLS (and passphrase if needed).
certificates: {
cert_pem = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
- cert_key = "/etc/ssl/certs/ssl-cert-snakeoil.key"
+ cert_key = "/etc/ssl/private/ssl-cert-snakeoil.key"
#cert_pwd = "secretpassphrase"
}
More information about the Pkg-voip-maintainers
mailing list