[HELP]: "not expected size" error on "keys init"

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

[HELP]: "not expected size" error on "keys init"

Postby GameboyRMH » Tue Dec 22, 2015 1:53 pm

I'm trying to set up TLS & SRTP. I have my various keyfiles in place, but when I run "keys init" at the asterisk console and enter my password I get "NOTICE[18453]: : : Key 'ca' is not expected size"

Curiously, if I enter a wrong password I get a different error code, "WARNING[18453]: : : Key load PRIVATE 'ca' failed"

I've checked the permissions (including SELinux context) on the key files.

System info:

CentOS 6.7

Asterisk 12.8.2 (installed from asterisk.org repo)

Keys generated using the ast_tls_cert script from the 12.8.2 source ("./ast_tls_cert -C MYPU.BLIC.IPH.ERE -O "MYORGNAMEHERE" -d /var/lib/asterisk/keys")

libsrtp 1.4.4-4
Posts: 1
Joined: Thu Jul 10, 2008 8:09 am

Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest