Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Cannot get auth_basic working

$
0
0
I have additional information:

1 - These very same credentials...

> - in c:/nginx/conf/htpasswd, nothing but these 2 lines:
> phil:YAsIdyZPQf712
> daniel:YAsIdyZPQf712
>
> - I did get the encrypted password from the following command (is /this/ the point?):
> C:\nginx>openssl passwd -crypt password
> YAsIdyZPQf712

... do work well with nginx 1.4.2 on debian wheezy, but don't work on nginx 1.5.12 on windows 7

2 - The openssl password command on both OS generates the same encrypting - YAsIdyZPQf712 - with the same parameters (providing "YA" as salt).

Hope this helps,
Philippe.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>