<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    OK this was the problem!!! The dash was missing!!!!!<br>
    Now it works and restarts the Apache after applying config<br>
    <br>
    Thanks everybody!!<br>
    <br>
    <br>
    <div class="moz-cite-prefix">El 09/01/2013 21:17, Richard Fuchs
      escribió:<br>
    </div>
    <blockquote cite="mid:50EDD05D.6030707@sipwise.com" type="cite">
      <pre wrap="">Hi,

Please make sure you have the right syntax in the YML, your original
mail seems to indicate that you don't:


ossbss:
  htpasswd:
    -
      pass: '{SHA}xxxxxxxxxxxxx'
      user: ngcpsoap


The line with the single dash "-" is important.

cheers


On 01/09/13 15:07, Joan Cifre (ibred) wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">No, it says

Generating /etc/sems/etc/xmlrpc2di.conf: OK
Generating /etc/sems/sems.conf: OK
OK
Checking state of /etc files
OK:   nothing to commit.

And the file you tell me is empty, well in fact there are only two signs
":   :"


El 09/01/2013 20:27, Lorenzo Mangani escribió:
</pre>
        <blockquote type="cite">
          <pre wrap="">Joan,

A question you previously asked about restarting Apache left me with a
doubt as this clearly happens on the change action.
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:

</pre>
          <blockquote type="cite">
            <pre wrap="">Executing action for
</pre>
          </blockquote>
          <pre wrap="">/etc/ngcp-config/templates/etc/ngcp-ossbss/ngcpcfg.services
</pre>
          <blockquote type="cite">
            <pre wrap="">Restarting web server: apache2 ... waiting .....
OK
</pre>
          </blockquote>
          <pre wrap="">
Do you see your new credentials being deployed
in /etc/ngcp-ossbss/provisioning.htpasswd?


Best,

Lorenzo Mangani

HOMER DEV TEAM
QXIP - Network Engineering

On Wed, Jan 9, 2013 at 8:18 PM, Joan Cifre (ibred) <<a class="moz-txt-link-abbreviated" href="mailto:jcifre@ib-red.com">jcifre@ib-red.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:jcifre@ib-red.com"><mailto:jcifre@ib-red.com></a>> wrote:

    Hi Lorenzo,
    I'm just trying to enter the web page
    <a class="moz-txt-link-freetext" href="https://myserverIP:2443/SOAP/Provisioning.wsdl">https://myserverIP:2443/SOAP/Provisioning.wsdl</a>
    and does not work!


    El 09/01/2013 20:16, Lorenzo Mangani escribió:
</pre>
          <blockquote type="cite">
            <pre wrap="">    Joan,

    Starts looking like an issue with the way you even send the
    authentication. Are you using a script/code to authenticate the
    requests?
    Does it work if you try accessing the SOAP address from a browser
    using the credentials you supposedly configured?

    Lorenzo Mangani

    HOMER DEV TEAM
    QXIP - Network Engineering


    On Wed, Jan 9, 2013 at 7:42 PM, Joan Cifre (ibred)
    <<a class="moz-txt-link-abbreviated" href="mailto:jcifre@ib-red.com">jcifre@ib-red.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:jcifre@ib-red.com"><mailto:jcifre@ib-red.com></a>> wrote:

        Hi,
        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


        El 09/01/2013 19:22, Kevin Masse escribió:
</pre>
            <blockquote type="cite">
              <pre wrap="">
        Hello, it is unlikely to be a problem with the Apache.

         

        When you followed the directions to create the password it
        will display a SHA password when complete.

        COPY this exactly as it displays on the screen and paste it
        into your config.yml in the appropriate location.

         

        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.

         

         

        Run ngcpcfg apply

         

        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.

         

        Make sure you paste

         

        Kevin

         

         

        *From:*spce-user-bounces@lists.sipwise.com
        <a class="moz-txt-link-rfc2396E" href="mailto:spce-user-bounces@lists.sipwise.com"><mailto:spce-user-bounces@lists.sipwise.com></a>
        [<a class="moz-txt-link-freetext" href="mailto:spce-user-bounces@lists.sipwise.com">mailto:spce-user-bounces@lists.sipwise.com</a>] *On Behalf Of
        *Joan Cifre (ibred)
        *Sent:* Wednesday, January 09, 2013 1:05 PM
        *To:* Lorenzo Mangani
        *Cc:* <a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:spce-user@lists.sipwise.com"><mailto:spce-user@lists.sipwise.com></a>
        *Subject:* Re: [Spce-user] osbss pwd

         

        Hi,
        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?

        El 09/01/2013 18:44, Lorenzo Mangani escribió:

            Joan,

             

            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 class="moz-txt-link-freetext" href="http://aspirine.org/htpasswd_en.html">http://aspirine.org/htpasswd_en.html</a> (random link
            out of many)

             

            Best,

             

            Lorenzo Mangani

             

            HOMER DEV TEAM

            QXIP - Network Engineering

             

             

            On Wed, Jan 9, 2013 at 6:04 PM, Joan Cifre (ibred)
            <<a class="moz-txt-link-abbreviated" href="mailto:jcifre@ib-red.com">jcifre@ib-red.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:jcifre@ib-red.com"><mailto:jcifre@ib-red.com></a>> wrote:

            Hi Daniel,
            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

            Error: Generating
            /etc/apache2/sites-available/ngcp-ossbss based on
            /etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2:
            FAILED
            NOTE: Check those files for valid syntax and encoding:
            /etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2
            /etc/ngcp-config/config.yml
            /etc/ngcp-config/constants.yml
            Running /usr/share/ngcp-ngcpcfg/helper/tt2-wrapper
            /etc/ngcp-config/templates//etc/apache2/sites-available/ngcp-ossbss.tt2
            should provide more details.


            El 09/01/2013 17:50, Daniel Grotti escribió:

                 

                Hi Joan,
                with {SHA}.
                And yes, just run ngcpcfg apply.

                Daniel



                On 01/09/2013 05:39 PM, Joan Cifre (ibred) wrote:

                Hi all,
                I'm trying to generate the password for accessing
                the SOAP
                provisioning interface. I execute the command
                htpasswd -nbs myuser mypwd
                and I'm getting something like
                myuser:{SHA}mYeNcRiPtEdPWD

                In config.yml the configuration should be:??

                   htpasswd:
                     pass: mYeNcRiPtEdPWD
                     user: myuser

                ???

                With or without {SHA} keywords? It's enough with
                ngcpcfg apply or I
                have to rstart the apache?
                Thx,
                Joan



                _______________________________________________
                Spce-user mailing list
                <a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                <a class="moz-txt-link-rfc2396E" href="mailto:Spce-user@lists.sipwise.com"><mailto:Spce-user@lists.sipwise.com></a>
                <a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>



            _______________________________________________
            Spce-user mailing list
            <a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
            <a class="moz-txt-link-rfc2396E" href="mailto:Spce-user@lists.sipwise.com"><mailto:Spce-user@lists.sipwise.com></a>
            <a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>



             

            -- 

             

             

             

         

</pre>
            </blockquote>
            <pre wrap="">



    -- 


</pre>
          </blockquote>
          <pre wrap="">



-- 




</pre>
        </blockquote>
        <pre wrap="">


_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>