[Spce-user] osbss pwd
Richard Fuchs
rfuchs at sipwise.com
Wed Jan 9 15:17:33 EST 2013
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:
> 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ó:
>> 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:
>>
>> > Executing action for
>> /etc/ngcp-config/templates/etc/ngcp-ossbss/ngcpcfg.services
>> > Restarting web server: apache2 ... waiting .....
>> > OK
>>
>> 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) <jcifre at ib-red.com
>> <mailto:jcifre at ib-red.com>> wrote:
>>
>> Hi Lorenzo,
>> I'm just trying to enter the web page
>> https://myserverIP:2443/SOAP/Provisioning.wsdl
>> and does not work!
>>
>>
>> El 09/01/2013 20:16, Lorenzo Mangani escribió:
>>> 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)
>>> <jcifre at ib-red.com <mailto:jcifre at ib-red.com>> 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ó:
>>>>
>>>> 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 at lists.sipwise.com
>>>> <mailto:spce-user-bounces at lists.sipwise.com>
>>>> [mailto:spce-user-bounces at lists.sipwise.com] *On Behalf Of
>>>> *Joan Cifre (ibred)
>>>> *Sent:* Wednesday, January 09, 2013 1:05 PM
>>>> *To:* Lorenzo Mangani
>>>> *Cc:* spce-user at lists.sipwise.com
>>>> <mailto:spce-user at lists.sipwise.com>
>>>> *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: http://aspirine.org/htpasswd_en.html (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)
>>>> <jcifre at ib-red.com <mailto:jcifre at ib-red.com>> 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
>>>> Spce-user at lists.sipwise.com
>>>> <mailto:Spce-user at lists.sipwise.com>
>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> <mailto:Spce-user at lists.sipwise.com>
>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>
>>
>>
>>
>> --
>>
>>
>>
>>
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130109/1cad168a/attachment-0001.asc>
More information about the Spce-user
mailing list