<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial?focusedCommentId=22087911#comment-22087911">Secure Calling Tutorial</a></h2>
<h4>Comment edited by <a href="https://wiki.asterisk.org/wiki/display/~hoisinboi">Erwen Tang</a>
:</h4>
<br/>
<h4>Changes (2)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-snipped" >...<br></td></tr>
<tr><td class="diff-unchanged" >cat /etc/asterisk/keys/asterisk.pem returns: <br> <br></td></tr>
<tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span class="diff-added-chars"style="background-color: #dfd;">{{</span>-----BEGIN</span> RSA PRIVATE KEY----- <br></td></tr>
<tr><td class="diff-unchanged" ><hidden> <br>-----END RSA PRIVATE KEY----- <br>-----BEGIN CERTIFICATE----- <br><hidden> <br></td></tr>
<tr><td class="diff-changed-lines" >-----END <span class="diff-changed-words">CERTIFICATE-----<span class="diff-added-chars"style="background-color: #dfd;">}}</span></span> <br></td></tr>
<tr><td class="diff-unchanged" > <br>Any ideas on what the problem might be? <br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<p>I'm running the latest freepbx with (*)1.8.19.1. I downloaded the script from SVN 1.8.19.1 tag and executed the instruction above. I'm getting the following error when I perform a 'sip reload'</p>
<p>SSL error loading cert file. </etc/asterisk/keys/asterisk.pem></p>
<p>I made sure that the file is accessible and the contents of the file seem correct.</p>
<p>cat /etc/asterisk/keys/asterisk.pem returns:</p>
<p>{{----<del>BEGIN RSA PRIVATE KEY</del>----<br/>
<hidden><br/>
----<del>END RSA PRIVATE KEY</del>----<br/>
----<del>BEGIN CERTIFICATE</del>----<br/>
<hidden><br/>
----<del>END CERTIFICATE</del>----}}</p>
<p>Any ideas on what the problem might be?</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial?focusedCommentId=22087911#comment-22087911">View Online</a>
|
<a id="reply-22087911" href="https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial?replyToComment=22087911#comment-22087911">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>