Page 1 of 2

https commands with basic authentication

Posted: Mon Jul 22, 2019 3:50 pm
by tlex
Hi,
I've been searching but couldn't find how to send https post command ( /admin?xxxxx ) while using basic authentication within the url itself.
When I try to send commands using https, (im using stunnel) via any browser, i get prompted for username and password even if (Use secure session keys and login page) is disabled.

I tried : https://ip:port/admin?camera=ZZZ&preset=1?user=username&pw=password
and
https://user:password@10.32.50.32:444/a ... 2&preset=1
without success.

Any idea ?

Re: https commands with basic authentication

Posted: Mon Jul 22, 2019 5:16 pm
by HeneryH
You need to turn off the advanced login setting in the web server section. I forget the exact name but look in the web server section for something like 'advanced login security' or similar.

Re: https commands with basic authentication

Posted: Mon Jul 22, 2019 6:07 pm
by tlex
I tried both disabling / enabling these without success, I still get userpwd prompt :

-Use UI3 for non-IE browsers
-Use secure session keys and login page.

Couldn't find any other option..

Re: https commands with basic authentication

Posted: Mon Jul 22, 2019 7:21 pm
by HeneryH
Uncheck "Use secure session keys and login page"

then add this to the end of the url
?user=user&pw=password

Re: https commands with basic authentication

Posted: Mon Jul 22, 2019 8:59 pm
by tlex
Nope. that still prompts the usr/pwd pop-up when you use https with stunnel :(

Re: https commands with basic authentication

Posted: Fri Dec 06, 2019 7:28 pm
by ydnapluk
I'm having the same issue - can anyone help?

Re: https commands with basic authentication

Posted: Mon Mar 23, 2020 12:44 am
by DarkStar
To my knowledge none of the current browsers support basic authentication. In each case the browser strips out the username/password before attempting to set up the connection. I've tested Safari (IOS & OXS), Edge (both new and old), FireFox and Chrome. IN short using a typical browser to test basic authentication will not work.

Re: https commands with basic authentication

Posted: Fri May 08, 2020 3:18 pm
by ben
uncheck the box "Use secure session keys..."
to log in its:
http://IP-Adress/admin?user=yourusernam ... Z&preset=1

it works for me, hope for you too;D

Re: https commands with basic authentication

Posted: Sat May 09, 2020 3:04 pm
by HeneryH
ben wrote: Fri May 08, 2020 3:18 pm uncheck the box "Use secure session keys..."
to log in its:
http://IP-Adress/admin?user=yourusernam ... Z&preset=1

it works for me, hope for you too;D
I suggested the same but these reports say that doesn't work. I don't have BI5 so maybe that is a difference.

Re: https commands with basic authentication

Posted: Sun Jul 19, 2020 7:18 pm
by tinnov
I ran into issues with this as well, and after some tinkering I figured out my problem... I was trying to use 'localhost' or '127.0.0.1' as the address. Neither works.

You've got to use your PC's adapter IP address.