hi daniel, are you sure the command in debian and ubuntu same?<br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 10:59 PM, Daniel - Asterisk <span dir="ltr"><<a href="mailto:earohuanca@gmail.com" target="_blank">earohuanca@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>