Daniel - Asterisk
2013-Feb-06 15:59 UTC
[asterisk-users] Problem using ast_tls_cert script
Hi List, 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: #./ast_tls_cert -C 10.200.108.17 -O "MyCompany" -d /etc/asterisk/keys/ I got this error message: hostname: Unknown host Same result happens when using server's hostname: #./ast_tls_cert -C ast-centos -O "MyCompany" -d /etc/asterisk/keys/ Where 'ast-centos' is the result of 'uname -n' I've followed instructions from: http://goalbound.blogspot.com/2012/05/configure-asterisk-18110-on-centos-55.html and https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial Any hint would be appreciated! Elder D. Arohuanca DCAP Lima - Peru -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130206/22ad722e/attachment.htm>
hi daniel, are you sure the command in debian and ubuntu same? On Wed, Feb 6, 2013 at 10:59 PM, Daniel - Asterisk <earohuanca at gmail.com>wrote:> Hi List, > > 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: > > #./ast_tls_cert -C 10.200.108.17 -O "MyCompany" -d /etc/asterisk/keys/ > > I got this error message: > > hostname: Unknown host > > Same result happens when using server's hostname: > #./ast_tls_cert -C ast-centos -O "MyCompany" -d /etc/asterisk/keys/ > > Where 'ast-centos' is the result of 'uname -n' > > I've followed instructions from: > > http://goalbound.blogspot.com/2012/05/configure-asterisk-18110-on-centos-55.html > and > https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial > > Any hint would be appreciated! > > Elder D. Arohuanca > DCAP > Lima - Peru > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130207/934edfa5/attachment.htm>