<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;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>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~hoisinboi">Erwen Tang</a>
    </h4>
    <br/>
    <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. &lt;/etc/asterisk/keys/asterisk.pem&gt;</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/>
&lt;hidden&gt;<br/>
----<del>END RSA PRIVATE KEY</del>----<br/>
----<del>BEGIN CERTIFICATE</del>----<br/>
&lt;hidden&gt;<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>