Is there a way to have digest authentication for Apache in Proxmox VE host?

  • Thread starter Thread starter emre
  • Start date Start date
E

emre

Guest
I'm using the latest version of Proxmox VE and I wonder if it is possible to have digest authentication for the web interface. First I tried this in /etc/apache2/sites-available/pve.conf:

Code:
<Location />
       AuthType Digest
        AuthName "proxmox"
        AuthDigestDomain / [URL]https://server.ip.address.here/[/URL]

        AuthDigestProvider file
        AuthUserFile /home/myUserName/apachePassword
        Require valid-user
</Location>
And I also enabled the auth_digest module and restarted the Apache web server. However when I visited the Proxmox VE web interface and passed the digest authentication screen by entering the username and password I received the following error:

Code:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root and inform them of the  time the error occurred, and anything you might have done that may have  caused the error.
    [4156]ERR:  24:  Error in Perl code: Can't locate object method "key"  via package "Digest" at /usr/share/pve-manager/root/base.epl line 30.    
 Apache Embperl 2.2.0 [Fri Feb 25 15:04:55 2011]
I have seen similar concerns in that forum message: http://forum.proxmox.com/threads/5812-Apache-2.2-mod_auth-with-Proxmox-not-working and I also checked http://forum.proxmox.com/threads/3694-secure-Proxmox-main-server but I could not find an answer to my question.

Is it possible to have digest authentication for Proxmox VE host? If so, how?