[OpenSIPS-Users] Configure TLS

Karl Karpfen karlkarpfen79 at gmail.com
Tue Jan 13 19:25:53 CET 2015


Hi,

I have some troubles getting TLS working with OpenSIPS. First it failed
starting with an error message

unable to load certificate file '/usr/local//etc/opensips/tls/cert.pem'

So I created this file with

openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 300

Now the error message is

Retry (0 left) (check password case)
Jan 13 19:22:39 [31163] ERROR:core:load_private_key: unable to load private
key file '/usr/local//etc/opensips/tls/cert.pem'
Jan 13 19:22:39 [31163] CRITICAL:core:main: could not initialize tls,
exiting...

So my question: how can I point OpenSIPS to correct private key file
key.pem and where can I specify its password?

Thanks for all the kind support :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150113/3748bed1/attachment.htm>


More information about the Users mailing list