<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:x="urn:schemas-microsoft-com:office:excel" 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=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.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 bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello, it is unlikely to be a problem with the Apache.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When you followed the directions to create the password it will display a SHA password when complete.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>COPY this exactly as it displays on the screen and paste it into your config.yml in the appropriate location.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The password you paste in should look like this:   {SHA}JKJKJjkjkjkdfDFhAWz7+jY=  (changed for security but it should look similar)  Some folks just put in the plain text password into config.yml and that will cause an issue.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Run ngcpcfg apply<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You do not have to restart Apache or Reboot the system.  This should work instantly on port 2443 with the username and password you have chosen.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Make sure you paste<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kevin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> spce-user-bounces@lists.sipwise.com [mailto:spce-user-bounces@lists.sipwise.com] <b>On Behalf Of </b>Joan Cifre (ibred)<br><b>Sent:</b> Wednesday, January 09, 2013 1:05 PM<br><b>To:</b> Lorenzo Mangani<br><b>Cc:</b> spce-user@lists.sipwise.com<br><b>Subject:</b> Re: [Spce-user] osbss pwd<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>it's a so simply configuration and I'm not able to get this to work. I can't authenticate, doens't recognise the combination user/pwd configured in config.yml. Could be any problem with Apache cache?<br><br><o:p></o:p></p><div><p class=MsoNormal>El 09/01/2013 18:44, Lorenzo Mangani escribió:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Joan, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If you're not sure about the encoding, you could maybe use an online tool such as this to generate for Apache to use and try again: <a href="http://aspirine.org/htpasswd_en.html">http://aspirine.org/htpasswd_en.html</a> (random link out of many)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777'>Lorenzo Mangani<o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777'>HOMER DEV TEAM<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='background:white'><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#777777'>QXIP - Network Engineering</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777'><o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Jan 9, 2013 at 6:04 PM, Joan Cifre (ibred) <<a href="mailto:jcifre@ib-red.com" target="_blank">jcifre@ib-red.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi Daniel,<br>if I configure it wit {SHA} I'm getting this error message when ngcpcfg apply. If I configure it without SHA, the user/pwd is not recognised<br><br>Error: Generating /etc/apache2/sites-available/ngcp-ossbss based on /etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2: FAILED<br>NOTE: Check those files for valid syntax and encoding:<br>/etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2<br>/etc/ngcp-config/config.yml<br>/etc/ngcp-config/constants.yml<br>Running /usr/share/ngcp-ngcpcfg/helper/tt2-wrapper /etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2 should provide more details.<br><br><br>El 09/01/2013 17:50, Daniel Grotti escribió: <o:p></o:p></p><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Joan,<br>with {SHA}.<br>And yes, just run ngcpcfg apply.<br><br>Daniel<br><br><br><br>On 01/09/2013 05:39 PM, Joan Cifre (ibred) wrote:<o:p></o:p></p><p class=MsoNormal>Hi all,<br>I'm trying to generate the password for accessing the SOAP<br>provisioning interface. I execute the command<br>htpasswd -nbs myuser mypwd<br>and I'm getting something like<br>myuser:{SHA}mYeNcRiPtEdPWD<br><br>In config.yml the configuration should be:??<br><br>   htpasswd:<br>     pass: mYeNcRiPtEdPWD<br>     user: myuser<br><br>???<br><br>With or without {SHA} keywords? It's enough with ngcpcfg apply or I<br>have to rstart the apache?<br>Thx,<br>Joan<br><br><br><br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br><a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></p></blockquote><p class=MsoNormal><br><br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br><a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></p></div></div></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white'><o:p> </o:p></span></p></div></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>