Karl,

see the "opensipsctl tls xx" commands to create root and user CAs. Also take a look at:
    http://www.opensips.org/html/docs/tutorials/tls-1.4.x.html

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 13.01.2015 20:25, Karl Karpfen wrote:
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 :-)




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to