[Spce-user] osbss pwd
Kevin Masse
kmasse at questblue.com
Wed Jan 9 13:22:07 EST 2013
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] On Behalf Of Joan Cifre (ibred)
Sent: Wednesday, January 09, 2013 1:05 PM
To: Lorenzo Mangani
Cc: 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> 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
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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130109/01fa4c82/attachment-0001.html>
More information about the Spce-user
mailing list