<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello Team, I am not sure if it’s a known error. But I have experienced this error in both mr12.3.1 and mr12.4.1 using ngcp-installer. Nginx failed to start.  when performed a test it returns an error below<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;mso-ligatures:none">/etc/ngcp-config/shared-files/ssl/dhparam.pem") failed (SSL: error:80000002<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;mso-ligatures:none">library::No such file or directory<o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ssl directory is missing within <span style="font-size:12.0pt;mso-ligatures:none">
/etc/ngcp-config/shared-files/<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Temporary solution. Created ssl directory and generated dhparam.pem with openssl.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Nginx is starting. However, after creating ssl directory and generating dhparam.pem, ngcpcfg apply failed to build.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The error while building  <o:p></o:p></p>
<p class="MsoNormal">Executing /etc/ngcp-config/templates/var/sipwise/.ssh/authorized_keys.postbuild for /var/sipwise/.ssh/authorized_keys<o:p></o:p></p>
<p class="MsoNormal">Error: Build errors detected (see the output above)! Aborting.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Full nginx error before creating manually creating ssl directory<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none">BIO_new_file("/etc/ngcp-config/shared-files/ssl/dhparam.pem") failed (SSL: error:80000002<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none">library::No such file or directory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none">fopen(/etc/ngcp-config/shared-files/ssl/dhparam.pem, r) error:10000080<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none">routines::no such file) nginx: configuration file /etc/nginx/nginx.conf test failed</span><o:p></o:p></p>
</div>
</body>
</html>