Questions tagged [http-basic-authentication]

256 questions
0
votes
0 answers

HTTP Base Auth for a Swarm service behind Traefik reverse proxy

I'm running a Docker Swarm cluster with services behind Traefik2 with HTTPS Base Auth enabled in Traefik itself. Now i'd like to add RabbitMQ with its management interface and make the web management interface accessible through Traefiks port…
0
votes
0 answers

Combination of HTTP authentication and Shibboleth authentication on the same Apache 2.4 website

I'd like to have 2 types of authentication on my web app (PHP 7.4 on Apache 2.4): for the URLs /api/ and its children /api/xxxx (not actual directory, just url) I'd like to have HTTP authentication for any other URL, I'd like to have shibboleth…
0
votes
1 answer

Apache 2.4 REMOTE_USER lowercase

I'm dealing with a legacy system that uses Apache with mod_auth_basic and mod_authnz_ldap for authentication and authorization in given directories and those directories with an .htaccess file. The authenticated user is then provided to various CGI…
0
votes
0 answers

Basic Authentication in .htaccess with RequireAll in httpd.conf

Running Apache 2.4.53 - I have a setup where in httpd.conf I have: Require all granted Require not env something Require not ip 1.2.3.4 The above is supposed to run cross VH. Then,…
JoeSlav
  • 99
  • 2
  • 12
0
votes
1 answer

Make nginx look for credentials in "Proxy-Authorization" header, so it works with apt

I have an nginx in front of an apt-cacher-ng. The nginx's job is to terminate HTTPS and take care of authentication. The issue is, that nginx will look in the Authorization header for credentials, but when I configure apt to use a proxy, it will…
0
votes
2 answers

Why is my Windows 11 host sending connection reset packets to AWX using certificate authentication?

Here is what I have done so far. Installed AWX 2.9 using docker on CentOS. Successfully managing Windows nodes (8,10) through AWX and WinRM using certificate authentication. (No problem here) Recently got a windows 11 node and certificate…
0
votes
2 answers

Basic auth and data from curl to HAProxy backend not working on TLS Termination - but works on TLS passthrough

listen pki bind *:8884 ssl no-sslv3 crt /HAPROXY.pem.ecdsa verify required ca-file /CA_CHAIN.pem mode http http-request add-header Content-Type "application/pkcs10" http-request add-header Content-Transfer-Encoding "base64" …
Eos Antigen
  • 101
  • 4
0
votes
1 answer

Nginx Disable Basic Auth - Laravel Forge

On a Laravel Forge Nginx Server I've enabled basic auth security at a root level for my site, this is working fine. However I'm now trying to exclude a webhooks path from basic auth to allow the site to function properly with third parties. No…
0
votes
1 answer

How to Exclude Basic Auth from Nginx Subdomain

I have the two lines of basic auth added in the nginx.conf. So that all subdomain blocks under reverse proxy are password protected. But I do have a few in which I don't want it to have that. What do I need to include in those server blocks in order…
user760466
0
votes
1 answer

nginx: autoindex with basic auth

I have a running website where I have a specific directory where I store random stuff (it sounds very informal and it indeed is). So, I wanted to have some sort of index there that lists the contents of that directory (and subdirectories). autoindex…
0
votes
0 answers

Password protecting an upstream server using Nginx

I've been searching for ages and whilst I can find lots of questions about proxying to a password-protected server using Nginx, I can't find any references to how to go about adding basic authentication to an upstream server being proxied by…
IpsRich
  • 173
  • 8
0
votes
1 answer

Redirect incoming URL request between basic authentication and openidc in apache

Redirect incoming URL request between basic authentication and openidc. I want to categorize if the request for URL is coming from "wget/curl" then i need it to get authenticated with Basic authentication and if the user input is from browser then i…
0
votes
0 answers

SSL Connection to MySQL database

I have read some answers here on serverfault that suggests it is not a good idea to open a MySQL port to the firewall, so I am trying to setup accordingly. Two options remain to connect to MySQL: SSH Tunnel SSL Configuration I have successfully…
0
votes
0 answers

Require IP still asking for login

I set following vhost which I want to be accessible without login when called from within the network, but with login when called from outside. However, no matter how I change the Require IP, RequireAny, ... I can't bring it to work. What am I…
Marco
  • 1
0
votes
0 answers

Basic Authentication not working on Apache 2.4.6

Just moved a site to new server, replaced the Allow.... directives with Require... Centos7, Apache 2.4.6 I have one location that I was using basic authentication and working fine, here is the directive in httpd.conf AuthType…
ScottD
  • 21
  • 5
1 2 3
17
18