[OpenSIPS-Users] Setting up TLS on 2.1

Sebastian Sastre sastre.sebastian at gmail.com
Fri Jul 17 16:31:17 CEST 2015


Hello,

I've followed the tutorial on
http://www.opensips.org/Documentation/Tutorials-TLS-2-1 .

For some reason i always get to the same error. All certificates are
created and all configurations are updated, but when i try to start
OpenSIPS i always get a password issue.

ERROR:proto_tls:load_private_key: unable to load private key file
'/etc/opensips/tls_cnf/tls/rootCA/private/cakey.pem'. #012Retry (2 left)
(check password case)

I set up a password on the rootCA creation that i later use to create the
user certificate but there is not later use of that password. What password
is that error referring to ?

Any help appreciated.

thanks

Jul 17 03:05:00 pd197 /sbin/opensips[7274]: WARNING:proto_tls:mod_init:
disabling compression due ZLIB problems
Jul 17 03:05:00 pd197 /sbin/opensips[7274]: INFO:proto_tls:check_for_krb:
KRB5 cipher KRB5-IDEA-CBC-SHA found
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
INFO:proto_tls:init_tls_domains: Processing TLS domain [0.0.0.0:0]
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
NOTICE:proto_tls:init_ssl_ctx_behavior: No EC curve defined
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
NOTICE:proto_tls:init_ssl_ctx_behavior: cipher list set to NULL
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
WARNING:proto_tls:init_ssl_ctx_behavior: client verification NOT activated.
Weaker security.
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
ERROR:proto_tls:load_private_key: unable to load private key file
'/etc/opensips/tls_cnf/tls/rootCA/private/cakey.pem'. #012Retry (2 left)
(check password case)
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
ERROR:proto_tls:load_private_key: unable to load private key file
'/etc/opensips/tls_cnf/tls/rootCA/private/cakey.pem'. #012Retry (1 left)
(check password case)
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
ERROR:proto_tls:load_private_key: unable to load private key file
'/etc/opensips/tls_cnf/tls/rootCA/private/cakey.pem'. #012Retry (0 left)
(check password case)
Jul 17 03:05:00 pd197 /sbin/opensips[7274]:
ERROR:proto_tls:load_private_key: unable to load private key file
'/etc/opensips/tls_cnf/tls/rootCA/private/cakey.pem'
Jul 17 03:05:00 pd197 /sbin/opensips[7274]: ERROR:core:init_mod: failed to
initialize module proto_tls
Jul 17 03:05:00 pd197 /sbin/opensips[7274]: ERROR:core:main: error while
initializing modules
Jul 17 03:05:00 pd197 /sbin/opensips[7274]: INFO:core:cleanup: cleanup
Jul 17 03:05:00 pd197 opensips: INFO:core:daemonize: pre-daemon process
exiting with -1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150717/7a2edf87/attachment.htm>


More information about the Users mailing list