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

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

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

# Client Certificate Authentication

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

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

 * [Detalles](https://gl.wordpress.org/plugins/client-certificate-authentication/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/client-certificate-authentication/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/client-certificate-authentication/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/client-certificate-authentication/#developers)

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

## Descrición

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.

## Instalación

 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.

## Preguntas frecuentes

  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.

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Client Certificate Authentication” é un software de código aberto. As seguintes
persoas colaboraron con este plugin.

Colaboradores

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

[Traduce “Client Certificate Authentication” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/client-certificate-authentication)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/client-certificate-authentication/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/client-certificate-authentication/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/client-certificate-authentication/)
por [RSS](https://plugins.trac.wordpress.org/log/client-certificate-authentication/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.0

Initial release.

#### 1.0.1

Documentation updates.

#### 1.0.2

Fixes to the short description.

## Meta

 *  Versión **1.0.2**
 *  Última actualización **Fai 13 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 3.1 ou superior **
 *  Probado ata **3.5.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/client-certificate-authentication/)
 * Etiquetas
 * [authentication](https://gl.wordpress.org/plugins/tags/authentication/)[ssl](https://gl.wordpress.org/plugins/tags/ssl/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/client-certificate-authentication/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  2 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/client-certificate-authentication/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/client-certificate-authentication/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](http://www.cacert.org/index.php?id=13)