htaccess doesn't read MD5 passwords

Discussion in 'Apache' started by diabolik66, May 5, 2010.

  1. #1
    I've got a server running Windows Server 2003 and Apache 2. The folders are secured using standard htpasswd/htaccess.

    I have a members section, and access to it is controlled by verotel, so when a subscriber subscribes to verotel, it sends the password to the server and updates the htpasswd file via a perl script.

    However, it won't read the password. If I create a test account and try and log in, it just keeps coming back to the password. However, if I create the username and password via htpasswd on the server, it works fine.

    I've come to the conclusion that the password being generated by verotel, is generated on a unix server and is sending the password with MD5 encryption, which I believe is encrypted differently to Windows MD5 encryption.

    So, the question is, how do I get a Windows server to read an MD5 password encrypted in unix?
     
    diabolik66, May 5, 2010 IP