Dear All,<br><br>I met some problems with Moin configuration about SSL authentication.<br>I have self-signed certificates for my wiki server and users.<br>Now I would like to use certificates to do authentication. Here is my reference: <a href="http://moinmo.in/HelpOnAuthentication">http://moinmo.in/HelpOnAuthentication</a><br>
As the section <font size="2">"</font><font size="2">SSL client certification authentication"</font> said, I can use "autocreate" parameter to create user profile automatically once users pass SSL check.<br>
But it does not work in my wiki server. Could you help me to check my configuration if something wrong? Thanks a lot.<br><br>Add two lines at wikiconfig.py:<br> from MoinMoin.auth.sslclientcert import SSLClientCertAuth<br>
auth = [SSLClientCertAuth(autocreate=['True'])]<br><br>At http.conf, I did the following configuration:<br> Alias /moin_static184/ "/var/www/mywiki/htdocs/"<br> WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi<br>
WSGIDaemonProcess mywiki user=apache group=apache processes=5 threads=10 maximum-requests=1000 umask=0007<br> WSGIProcessGroup mywiki<br> WSGIPassAuthorization On<br><br> <Location /mywiki><br> SetHandler python-program<br>
# Add the path of your wiki directory<br> PythonPath "['/var/www/mywiki', '/usr/local/lib/python2.4/site-packages'] + sys.path"<br> PythonHandler MoinMoin.request.request_modpython::Request.run<br>
SSLVerifyClient require<br> SSLUserName SSL_CLIENT_S_DN<br> SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \<br> and %{SSL_CLIENT_S_DN_OU} in {"GRID"})<br> </Location><br>
<br>I can access my wiki page with security http and see my DN shown in the ssl_sccess.log. But the user profile can not be created automatically.<br>Any idea about this? Thanks a lot.<br><br>All the Best.<br>Jhen-Wei Huang<br>
<br>-- <br>OPS Team, ASGC<br>Tel: +886-2-2789-8311<br>Fax: +886-2-2783-7653<br>