WSGIPythonHome /opt/privacyIDEA/ WSGISocketPrefix /var/run/wsgi ServerAdmin webmaster@localhost # You might want to change this ServerName localhost Header always edit Set-Cookie ^(.*)$ $1;secure DocumentRoot /var/www # For Apache 2.4 you need to set this: #Require all granted Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None # For Apache 2.4 you need to remove the # following two lines Order allow,deny allow from all # For Apache 2.4 you need to set this: #Require all granted Alias /doc/html /usr/share/doc/privacyideadoc/html WSGIScriptAlias / /opt/privacyIDEA/etc/privacyidea/privacyideaapp.wsgi # # The daemon is running as user 'privacyidea' # This user should have access to the encKey database encryption file WSGIDaemonProcess privacyidea processes=1 threads=15 display-name=%{GROUP} user=privacyidea WSGIProcessGroup privacyidea WSGIPassAuthorization On # # AuthType Digest # AuthName "privacyIDEA admin area" # AuthDigestProvider file # AuthUserFile /etc/privacyidea/admins # Require valid-user # AuthType Digest AuthName "privacyIDEA gettoken" AuthDigestProvider file AuthUserFile /opt/privacyidea/etc/privacyidea/gettoken-api Require valid-user # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" # If both key and certificate are stored in the same file, only the # SSLCertificateFile directive is needed. SSLCertificateFile /etc/pki/tls/certs/privacyideaserver.pem SSLCertificateKeyFile /etc/pki/tls/private/privacyideaserver.key SSLOptions +StdEnvVars SSLOptions +StdEnvVars BrowserMatch ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 ErrorDocument 500 "

Internal Server Error

Possible reasons can be missing modules or bad access rights on privacyIDEA configuration files or log files. Please check the apache logfile
/var/log/apache2/error.log
for more details."