{"id":24279,"date":"2013-07-14T22:31:25","date_gmt":"2013-07-14T22:31:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/client-certificate-authentication\/"},"modified":"2013-07-17T13:52:01","modified_gmt":"2013-07-17T13:52:01","slug":"client-certificate-authentication","status":"publish","type":"plugin","link":"https:\/\/es-ec.wordpress.org\/plugins\/client-certificate-authentication\/","author":12713591,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"3.5.2","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Client Certificate Authentication","header_author":"Mario Lipinski","header_description":"","assets_banners_color":"","last_updated":"2013-07-17 13:52:01","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.cacert.org\/index.php?id=13","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/client-certificate-authentication\/","header_author_uri":"http:\/\/wiki.cacert.org\/Mario%20Lipinski","rating":5,"author_block_rating":0,"active_installs":10,"downloads":3225,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[710,17976,17978,1536,17979],"plugin_category":[38,54,58],"plugin_contributors":[93684],"plugin_business_model":[],"class_list":["post-24279","plugin","type-plugin","status-publish","hentry","plugin_tags-authentication","plugin_tags-client-certificate","plugin_tags-client-certificate-authentication","plugin_tags-ssl","plugin_tags-ssl-authentication","plugin_category-authentication","plugin_category-security-and-spam-protection","plugin_category-user-management","plugin_contributors-mariolipinski","plugin_committers-mariolipinski"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/client-certificate-authentication.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Client Certificate Authentication plugin enables Wordpress to login a user with a SSL client certificate. The plugin uses the email address from the subject field to identify the user by the email address of his wordpress account. Optionally, new accounts can be created on the fly by using email address and name from the certificate. By limiting login and registration to users providing a client certificate, bots are locked out and spam is eliminated.<\/p>\n\n<p>Acknowledgements:  This plugin is based on the <a href=\"http:\/\/wordpress.org\/plugins\/http-authentication\/\" title=\"HTTP Authentication plugin\">HTTP Authentication plugin<\/a> by Daniel Westermann-Clark. Ideas taken from Dan B.'s implementation for client certificate authentication.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Login as an existing user, such as admin.<\/li>\n<li>Upload the <code>client-certificate-authentication<\/code> folder to your plugins folder, usually <code>wp-content\/plugins<\/code>. (Or simply via the built-in installer.)<\/li>\n<li>Activate the plugin on the Plugins screen.<\/li>\n<li>Logout.<\/li>\n<li>Require certificate authentication for <code>wp-login.php<\/code> and <code>wp-admin<\/code>.<\/li>\n<li>Try logging in with your client certificate.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How should I set up client certificate authentication?<\/dt>\n<dd><p>This depends on your hosting environment and your means of authentication.\nThe plugin uses the $_SERVER environment variables <code>SSL_CLIENT_S_DN_Email<\/code> (beginning with) for the email address and <code>SSL_CLIENT_S_DN_CN<\/code> for the name.\nA working example is given below:<\/p>\n\n<p>In Apache HTTP (non-HTTPS) config add:<\/p>\n\n<pre><code>RewriteEngine On\nRewriteRule ^\/(wp-(admin|login\\.php).*) https:\/\/%{HTTP_HOST}\/$1\n<\/code><\/pre>\n\n<p>In Apache HTTPS config:<\/p>\n\n<pre><code>&lt;Location \/wp-login.php&gt;\n    SSLVerifyClient optional\n    &lt;IfModule mod_rewrite.c&gt;\n        RewriteEngine   on\n        RewriteCond  %{HTTP_USER_AGENT}  .*Safari.*\n        RewriteCond  %{SSL:SSL_CLIENT_VERIFY} !=SUCCESS\n        RewriteRule  .* \/wp-admin [redirect,last]\n    &lt;\/IfModule&gt;\n&lt;\/Location&gt;\n&lt;Location \/wp-admin&gt;\n    SSLVerifyClient require\n&lt;\/Location&gt;\n<\/code><\/pre>\n\n<p>Also make sure to set SSLCACertificatePath and enable CRL checks.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Documentation updates.<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Fixes to the short description.<\/p>","raw_excerpt":"Authenticating with a SSL Client Certificate by using the email address. Optionally, new accounts can be created with the name from the certificate.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24279"}],"author":[{"embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mariolipinski"}],"wp:attachment":[{"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24279"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24279"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24279"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24279"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24279"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-ec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}