Title: Client Certificate Authentication
Author: MarioLipinski
Published: <strong>14 July, 2013</strong>
Last modified: 17 July, 2013

---

Search plugins

Dizze plugin **is net hifke mei de lêste 3 grutte releases fan WordPress** . It 
kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe
as it wurdt brûkt mei resinte ferzjes fan WordPress.

![](https://s.w.org/plugins/geopattern-icon/client-certificate-authentication.svg)

# Client Certificate Authentication

 Troch [MarioLipinski](https://profiles.wordpress.org/mariolipinski/)

[Download](https://downloads.wordpress.org/plugin/client-certificate-authentication.1.0.2.zip)

 * [Details](https://fy.wordpress.org/plugins/client-certificate-authentication/#description)
 * [Resinsjes](https://fy.wordpress.org/plugins/client-certificate-authentication/#reviews)
 *  [Ynstallaasje](https://fy.wordpress.org/plugins/client-certificate-authentication/#installation)
 * [Ûntwikkeling](https://fy.wordpress.org/plugins/client-certificate-authentication/#developers)

 [Stypje](https://wordpress.org/support/plugin/client-certificate-authentication/)

## Beskriuwing

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.

Acknowledgements: This plugin is based on the [HTTP Authentication plugin](https://wordpress.org/plugins/http-authentication/)
by Daniel Westermann-Clark. Ideas taken from Dan B.’s implementation for client 
certificate authentication.

## Ynstallaasje

 1. Login as an existing user, such as admin.
 2. Upload the `client-certificate-authentication` folder to your plugins folder, usually`
    wp-content/plugins`. (Or simply via the built-in installer.)
 3. Activate the plugin on the Plugins screen.
 4. Logout.
 5. Require certificate authentication for `wp-login.php` and `wp-admin`.
 6. Try logging in with your client certificate.

## FAQ

  How should I set up client certificate authentication?

This depends on your hosting environment and your means of authentication.
 The 
plugin uses the $_SERVER environment variables `SSL_CLIENT_S_DN_Email` (beginning
with) for the email address and `SSL_CLIENT_S_DN_CN` for the name. A working example
is given below:

In Apache HTTP (non-HTTPS) config add:

    ```
    RewriteEngine On
    RewriteRule ^/(wp-(admin|login\.php).*) https://%{HTTP_HOST}/$1
    ```

In Apache HTTPS config:

    ```
    <Location /wp-login.php>
        SSLVerifyClient optional
        <IfModule mod_rewrite.c>
            RewriteEngine   on
            RewriteCond  %{HTTP_USER_AGENT}  .*Safari.*
            RewriteCond  %{SSL:SSL_CLIENT_VERIFY} !=SUCCESS
            RewriteRule  .* /wp-admin [redirect,last]
        </IfModule>
    </Location>
    <Location /wp-admin>
        SSLVerifyClient require
    </Location>
    ```

Also make sure to set SSLCACertificatePath and enable CRL checks.

## Resinsjes

D’r binne gjin resinsjes foar dizze plugin.

## Meiwurkers & amp; Untwikkelders

“Client Certificate Authentication” is iepen boarne software. De folgjende minsken
hawwe bydroegen oan dizze plugin.

Meiwurkers

 *   [ MarioLipinski ](https://profiles.wordpress.org/mariolipinski/)

[Oersette “Client Certificate Authentication” yn jo taal.](https://translate.wordpress.org/projects/wp-plugins/client-certificate-authentication)

### Ynteressearre yn ûntwikkeling?

[Blêdzje troch de koade](https://plugins.trac.wordpress.org/browser/client-certificate-authentication/),
besjoch de [SVN-repository](https://plugins.svn.wordpress.org/client-certificate-authentication/),
of abonnearje op it [ûntwikkelingslogboek](https://plugins.trac.wordpress.org/log/client-certificate-authentication/)
troch [RSS](https://plugins.trac.wordpress.org/log/client-certificate-authentication/?limit=100&mode=stop_on_copy&format=rss).

## Feroaringslog

#### 1.0

Initial release.

#### 1.0.1

Documentation updates.

#### 1.0.2

Fixes to the short description.

## Meta

 *  Version **1.0.2**
 *  Last updated **13 jier yn ôl**
 *  Active installations **10+**
 *  WordPress version ** 3.1 of heger **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/client-certificate-authentication/)
 * Tags
 * [authentication](https://fy.wordpress.org/plugins/tags/authentication/)[ssl](https://fy.wordpress.org/plugins/tags/ssl/)
 *  [Avansearre werjefte](https://fy.wordpress.org/plugins/client-certificate-authentication/advanced/)

## Wurdearrings

 5 fan 5 stjerren.

 *  [  2 resinsjes mei 5 stjerren     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=5)
 *  [  0 resinsjes mei 4 stjerren     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=4)
 *  [  0 resinsjes mei 3 stjerren     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=3)
 *  [  0 resinsjes mei 2 stjerren     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=2)
 *  [  0 resinsjes mei 1 stjerren     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/)

## Meiwurkers

 *   [ MarioLipinski ](https://profiles.wordpress.org/mariolipinski/)

## Stypje

Hast wat te sizzen? Help nedich hawwe?

 [Besjoch stipefoarum](https://wordpress.org/support/plugin/client-certificate-authentication/)

## Doar

Wolle jo de foarútgong fan dizze plugin stypje?

 [ Donearje oan dizze plugin ](http://www.cacert.org/index.php?id=13)