<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mr. Klaver and list.<div><br></div><div>I've used the following how-to to create the certificates:</div><div><br></div><div>"</div><div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "><a href="http://cdrtool.ag-projects.com/wiki/Install" style="color: blue; text-decoration: underline; ">http://cdrtool.ag-projects.com/wiki/Install</a></span></font></div><p style="margin-right: 0pt; margin-left: 0pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size: 12pt; ">Create or copy both a media relay certificate and its key to /etc/cdrtool/mediaproxy.hostname.pem:<o:p></o:p></span></font></p><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-US" style="font-size: 10pt; ">cat /etc/mediaproxy/tls/relay.crt >> /etc/cdrtool/mediaproxy.hostname.pem<o:p></o:p></span></font></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-US" style="font-size: 10pt; ">cat /etc/mediaproxy/tls/relay.key >> /etc/cdrtool/mediaproxy.hostname.pem</span></font></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">"</pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><br></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><span class="Apple-style-span" style="font-family: 'Lucida Grande'; white-space: normal; ">Is it correct? Can you point me any other source of help?</span></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><font class="Apple-style-span" face="'Lucida Grande'"><span class="Apple-style-span" style="white-space: normal;"><br></span></font></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><font class="Apple-style-span" face="'Lucida Grande'"><span class="Apple-style-span" style="white-space: normal;">Thanks in advance again.</span></font></pre><pre style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><font class="Apple-style-span" face="'Lucida Grande'"><span class="Apple-style-span" style="white-space: normal;"><br></span></font></pre><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- <br>Atenciosamente,<br><br>ALEXANDRE KELLER<br></div></div></div></div></span><br class="Apple-interchange-newline"><span><img height="58" width="100" src="cid:2ED36AF9-3F7F-4927-B7A0-8F5ABB070156@keller.casa"></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline"><br>+55 11 4063 - 9374<br><a href="http://www.asteriks.com.br/">http://www.asteriks.com.br/</a><br><br>"Dinheiro é a consequência de um trabalho bem feito<br>e não o motivo para se fazer um bom trabalho."</div><div><br></div></div></div></div><div><br></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On 13/01/2009, at 08:31, Ruud Klaver wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>On 08 Jan 2009, at 14:52, Alexandre Keller wrote:<br><br><blockquote type="cite">Hi there.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Anyone, please, can help me?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">When I start mediaproxy the following messages appear.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Jan 8 11:29:59 sip media-relay[2292]: [-] Log opened.<br></blockquote><blockquote type="cite">Jan 8 11:29:59 sip media-relay[2292]: [-] Starting MediaProxy Relay 2.3.1<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] Set resource limit for maximum open file descriptors to 11000<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] fatal error: failed to create MediaProxy Relay: Base64 unexpected header error.<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] Traceback (most recent call last):<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] --- <exception caught here> ---<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/usr/bin/media-relay", line 54, in <module><br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] relay = MediaRelay()<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/mediaproxy/relay.py", line 295, in __init__<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] self.cred = X509Credentials(cert_name='relay')<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/mediaproxy/tls.py", line 132, in __init__<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] twisted.X509Credentials.__init__(self, self.X509cert, self.X509key, [self.X509ca], [self.X509crl])<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/mediaproxy/tls.py", line 99, in __get__<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] return descriptor.get()<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/mediaproxy/tls.py", line 82, in get<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] self.object = self.klass(f.read())<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "<string>", line 1, in __init__<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-]<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/gnutls/validators.py", line 273, in check_args<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] return func(*func_args)<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/gnutls/crypto.py", line 240, in __init__<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] gnutls_x509_crl_import(self._c_object, byref(data), format)<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] File "/var/lib/python-support/python2.5/gnutls/library/errors.py", line 64, in _check_status<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] raise GNUTLSError(ErrorMessage(retcode))<br></blockquote><blockquote type="cite">Jan 8 11:30:00 sip media-relay[2292]: [-] gnutls.errors.GNUTLSError: Base64 unexpected header error.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks in advance<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Atenciosamente,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">ALEXANDRE KELLER<br></blockquote><br>There seems to be an error while reading one of the certificate files you specified. You should check if they are in the correct format.<br><br>Ruud Klaver<br>AG Projects<br><br></div></blockquote></div><br></div></body></html>