There we go, something is seriously wrong with the configuration most likely, resulting in this file being empty (possibly other parameters related to ossbss missing too at this point) and this is exactly why you cannot authenticate. Your details are never even processed.<div>
<br></div><div>While placing the user:pass in /etc/ngcp-ossbss/provisioning.htpasswd shall fix the access issue, but you still have a problem:</div><div><div><br></div><div> username:{SHA}Wh4t3VErC0m350utFOry0u=</div>
<div><br></div><div>My best guess again is something in your /etc/ngcp-config/config.yml is wrong/corrupted or you might have permission issues, but it's hard to guess without seeing. Maybe you can share it in private with the sipwise team for further advice, or clean it up from sensitive details and share it here -</div>
<div><br></div><div>Best.</div><div><br></div><div><div style="font-family:Arial;font-size:13.200000762939453px;background-color:rgb(255,255,255);color:rgb(119,119,119)"><font>Lorenzo Mangani</font></div><div style="font-family:Arial;font-size:13.200000762939453px;background-color:rgb(255,255,255);color:rgb(119,119,119)">
<font><div style="font-size:x-small"><br></div><div style="font-size:x-small">HOMER DEV TEAM</div></font></div><div style="font-family:Arial;background-color:rgb(255,255,255);color:rgb(119,119,119);font-size:x-small"><font size="1">QXIP - Network Engineering</font></div>
</div><div><br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 9:07 PM, Joan Cifre (ibred) <span dir="ltr"><<a href="mailto:jcifre@ib-red.com" target="_blank">jcifre@ib-red.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
No, it says<br>
<br>
Generating /etc/sems/etc/xmlrpc2di.conf: OK<br>
Generating /etc/sems/sems.conf: OK<br>
OK<br>
Checking state of /etc files<br>
OK: nothing to commit.<br>
<br>
And the file you tell me is empty, well in fact there are only two
signs ": :"<br>
<br>
<br>
<div>El 09/01/2013 20:27, Lorenzo Mangani
escribió:<br>
</div><div><div class="h5">
<blockquote type="cite">Joan,
<div><br>
</div>
<div>A question you previously asked about restarting Apache left
me with a doubt as this clearly happens on the change action.</div>
<div>When you change your ossbss username/password
in /etc/ngcp-config/config.yml and execute "ngcpcfg apply" you
should see the following towards the end of the execution:</div>
<div>
<div><br>
</div>
<div>> Executing action for
/etc/ngcp-config/templates/etc/ngcp-ossbss/ngcpcfg.services</div>
<div>> Restarting web server: apache2 ... waiting .....</div>
<div>> OK</div>
</div>
<div><br>
</div>
<div>
Do you see your new credentials being deployed
in /etc/ngcp-ossbss/provisioning.htpasswd?</div>
<div><br>
</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>
<div style="color:rgb(119,119,119);font-size:13.200000762939453px;font-family:Arial"><font>Lorenzo
Mangani</font></div>
<div style="color:rgb(119,119,119);font-size:13.200000762939453px;font-family:Arial"><font>
<div style="font-size:x-small"><br>
</div>
<div style="font-size:x-small">
HOMER DEV TEAM</div>
</font></div>
<div style="color:rgb(119,119,119);font-size:x-small;font-family:Arial"><font size="1">QXIP - Network Engineering</font></div>
<br>
<div class="gmail_quote">
On Wed, Jan 9, 2013 at 8:18 PM, Joan Cifre (ibred) <span dir="ltr"><<a href="mailto:jcifre@ib-red.com" target="_blank">jcifre@ib-red.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi Lorenzo,<br>
I'm just trying to enter the web page <a href="https://myserverIP:2443/SOAP/Provisioning.wsdl" target="_blank">https://myserverIP:2443/SOAP/Provisioning.wsdl</a><br>
and does not work!<br>
<br>
<br>
<div>El 09/01/2013 20:16, Lorenzo Mangani escribió:<br>
</div>
<div>
<div>
<blockquote type="cite">Joan,
<div><br>
</div>
<div>Starts looking like an issue with the way you
even send the authentication. Are you using a
script/code to authenticate the requests?</div>
<div>Does it work if you try accessing the SOAP
address from a browser using the credentials you
supposedly configured?</div>
<div><br>
</div>
<div>
<div style="color:rgb(119,119,119);font-size:13.200000762939453px;font-family:Arial"><font>Lorenzo
Mangani</font></div>
<div style="color:rgb(119,119,119);font-size:13.200000762939453px;font-family:Arial"><font>
<div style="font-size:x-small"><br>
</div>
<div style="font-size:x-small"> HOMER DEV TEAM</div>
</font></div>
<div style="color:rgb(119,119,119);font-size:x-small;font-family:Arial"><font size="1">QXIP - Network Engineering</font></div>
<div><font size="1"><br>
</font></div>
<br>
<div class="gmail_quote">On Wed, Jan 9, 2013 at
7:42 PM, Joan Cifre (ibred) <span dir="ltr"><<a href="mailto:jcifre@ib-red.com" target="_blank">jcifre@ib-red.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
as Richard suggested, with the quotes there
is no error when applying the configuration
BUT no success with the credentials. Does
somebody knows de default password (user
soap)? I want to try with this<br>
<br>
<br>
<div>El 09/01/2013 19:22, Kevin Masse
escribió:<br>
</div>
<div>
<div>
<blockquote type="cite">
<div>
<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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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.</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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Run
ngcpcfg apply</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Make
sure you paste</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Kevin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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">
<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>
[<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">mailto:spce-user-bounces@lists.sipwise.com</a>]
<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> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
<b>Subject:</b> Re:
[Spce-user] osbss pwd</span></p>
</div>
</div>
<p class="MsoNormal"> </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>
</p>
<div>
<p class="MsoNormal">El 09/01/2013
18:44, Lorenzo Mangani escribió:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Joan, </p>
<div>
<p class="MsoNormal"> </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" target="_blank">http://aspirine.org/htpasswd_en.html</a>
(random link out of many)</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Best,</p>
</div>
<div>
<p class="MsoNormal"> </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</span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777"> </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</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"></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"> </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:</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ó: </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"> </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:</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></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></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
</p>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">-- <span style="font-size:10.0pt;font-family:"Arial","sans-serif";background:white"></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white"> </span></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"> </p>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<span style="font-size:13px;font-family:arial,sans-serif"><span style="font-family:Arial">
<div style="color:rgb(119,119,119)"> <font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
</span></font></div>
<div style="color:rgb(119,119,119)"><br>
</div>
</span></span> </div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<span style="font-size:13px;font-family:arial,sans-serif"><span style="font-family:Arial">
<div style="color:rgb(119,119,119)">
<font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
</span></font></div>
<div style="color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
</span></font></div>
<div style="color:rgb(119,119,119)">
<br>
</div>
<div style="color:rgb(119,119,119);font-size:x-small"><br>
</div>
</span></span>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:Arial"><div style="color:rgb(119,119,119)">
<font><span style="font-family:Arial;color:rgb(119,119,119)"><br></span></font></div><div style="color:rgb(119,119,119)"><br></div><div style="color:rgb(119,119,119);font-size:x-small"><br></div></span></span>
</div></div>