<div dir="ltr"><div>Hi List,</div><div> </div><div>I'm trying to set my Asterisk 1.8.20.1 with TLS on CentOS 5.9, it was easy and straightforward with Debian 6.0.6, but when I introduce this command on CentOS:</div><div>
</div><div>#./ast_tls_cert -C 10.200.108.17 -O "MyCompany" -d /etc/asterisk/keys/</div>
<div> </div><div>I got this error message:</div><div> </div><div>hostname: Unknown host</div><div> </div><div>Same result happens when using server's hostname:</div><div><div>#./ast_tls_cert -C ast-centos -O "MyCompany" -d /etc/asterisk/keys/</div>
<div> </div><div>Where 'ast-centos' is the result of 'uname -n'</div></div><div> </div><div>I've followed instructions from:</div><div><a href="http://goalbound.blogspot.com/2012/05/configure-asterisk-18110-on-centos-55.html" target="_blank">http://goalbound.blogspot.com/2012/05/configure-asterisk-18110-on-centos-55.html</a></div>
<div>and </div><div><a href="https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial</a></div><div> </div><div>Any hint would be appreciated!</div>
<div> </div><div>Elder D. Arohuanca</div><div>DCAP</div><div>Lima - Peru </div>
</div>