GitHub user robertdale opened a pull request:

    https://github.com/apache/tinkerpop/pull/536

    Support SSL client certificate authentication

    Can be used with or without an Authenticator (authentication configuration)
    
    Valid configs look like:
    
    **No client cert auth:**
    ```
    ssl: {
        enabled: true,
        keyFile: www.example.com.pk8.pem,
        keyPassword: changeit,
        keyCertChainFile: www.example.com.bundle.pem
    }
    ```
    or 
    ```
    ssl: {
        enabled: true,
        keyFile: www.example.com.pk8.pem,
        keyPassword: changeit,
        keyCertChainFile: www.example.com.bundle.pem,
        needClientAuth: NONE
    }
    ```
    
    **Optional client cert auth:**
    ```
    ssl: {
        enabled: true,
        keyFile: www.example.com.pk8.pem,
        keyPassword: changeit,
        keyCertChainFile: www.example.com.bundle.pem,
        trustCertChainFile: trusted-clients.cert.pem,
        needClientAuth: OPTIONAL
    }
    ```
    
    **Require client cert auth:**
    
    ```
    ssl: {
        enabled: true,
        keyFile: www.example.com.pk8.pem,
        keyPassword: changeit,
        keyCertChainFile: www.example.com.bundle.pem,
        trustCertChainFile: trusted-clients.cert.pem,
        needClientAuth: REQUIRE
    }
    ```
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1602

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/536.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #536
    
----
commit 7462a9f007df86e83a9b6d49c71cb59c2bbc180d
Author: Robert Dale <robd...@gmail.com>
Date:   2017-01-17T19:24:00Z

    Support SSL client auth

commit 2471a57844731b08600b1e9aef76ee572a517a2d
Author: Robert Dale <robd...@gmail.com>
Date:   2017-01-17T19:39:32Z

    updated doc for ssl client auth

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to