<div dir="ltr"><div class="gmail_extra">Hi,<br><br></div><div class="gmail_extra">I have some troubles getting TLS working with OpenSIPS. First it failed starting with an error message<br><br>unable to load certificate file &#39;/usr/local//etc/opensips/tls/cert.pem&#39;<br><br></div><div class="gmail_extra">So I created this file with<br><br>openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 300<br><br></div><div class="gmail_extra">Now the error message is<br><br>Retry (0 left) (check password case)<br>Jan 13 19:22:39 [31163] ERROR:core:load_private_key: unable to load private key file &#39;/usr/local//etc/opensips/tls/cert.pem&#39;<br>Jan 13 19:22:39 [31163] CRITICAL:core:main: could not initialize tls, exiting...<br><br></div><div class="gmail_extra">So my question: how can I point OpenSIPS to correct private key file key.pem and where can I specify its password?<br><br></div><div class="gmail_extra">Thanks for all the kind support :-)<br><br><br></div></div>