-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document pomerium-cli client cert functionality #1001
Conversation
✅ Deploy Preview for pomerium-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
621a8ef
to
60180bd
Compare
|
||
This will search the Keychain (on macOS) or the Windows certificate store (on Windows) for a client certificate and private key, based on the trusted CA names advertised by Pomerium in the TLS handshake. | ||
|
||
If you need to select between multiple matching client certificates, you can additionally filter based on the Distinguished Name of the certificate's Issuer and/or the certificate Subject. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you need to select between multiple matching client certificates, you can additionally filter based on the Distinguished Name of the certificate's Issuer and/or the certificate Subject. | |
If you need to select between multiple matching client certificates, you can additionally filter based on the **Distinguished Name** of the certificate's Issuer and/or the certificate **Subject**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer not to show these terms in bold.
|
||
If you need to select between multiple matching client certificates, you can additionally filter based on the Distinguished Name of the certificate's Issuer and/or the certificate Subject. | ||
|
||
For example, to filter for a certificate directly issued by a CA with the Common Name "My Trusted CA": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, to filter for a certificate directly issued by a CA with the Common Name "My Trusted CA": | |
For example, to filter for a certificate directly issued by a CA with the **Common Name** "My Trusted CA": |
pomerium-cli tcp --client-cert-from-store --client-cert-issuer "CN=My Trusted CA" redis.corp.example.com:6379 | ||
``` | ||
|
||
Or, to filter for a certificate whose Subject contains the Organizational Unit Name "My Department": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, to filter for a certificate whose Subject contains the Organizational Unit Name "My Department": | |
Or, to filter for a certificate whose Subject contains the **Organizational Unit Name** "My Department": |
|
||
The certificate name filter syntax is `attribute=value`. A name filter can accept only one name attribute. The value must be an exact match (not a substring match). Make sure to quote name filters as appropriate for your shell. | ||
|
||
For example, `--client-cert-issuer "CN=My Trusted CA"` would filter for a certificate directly issued by a CA with the Common Name "My Trusted CA". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, `--client-cert-issuer "CN=My Trusted CA"` would filter for a certificate directly issued by a CA with the Common Name "My Trusted CA". | |
For example, `--client-cert-issuer "CN=My Trusted CA"` would filter for a certificate directly issued by a CA with the **Common Name** "My Trusted CA". |
|
||
For example, `--client-cert-issuer "CN=My Trusted CA"` would filter for a certificate directly issued by a CA with the Common Name "My Trusted CA". | ||
|
||
Or, `--client-cert-subject "OU=My Department"` would filter for a certificate whose Subject name contains the Organizational Unit Name "My Department". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, `--client-cert-subject "OU=My Department"` would filter for a certificate whose Subject name contains the Organizational Unit Name "My Department". | |
Or, `--client-cert-subject "OU=My Department"` would filter for a certificate whose Subject name contains the **Organizational Unit Name** "My Department". |
Co-authored-by: zachary painter <[email protected]>
Now that this new functionality has been released (in pomerium-cli v0.23.0), I think we can go ahead and merge this. |
Add a section to the main "TCP over HTTP Support" page to mention the client cert options provided by pomerium-cli, and add the new certificate store flags to the table on the reference page. --------- Co-authored-by: zachary painter <[email protected]>
document pomerium-cli client cert functionality (#1001) Add a section to the main "TCP over HTTP Support" page to mention the client cert options provided by pomerium-cli, and add the new certificate store flags to the table on the reference page. --------- Co-authored-by: Kenneth Jenkins <[email protected]> Co-authored-by: zachary painter <[email protected]>
Add a section to the main "TCP over HTTP Support" page to mention the client cert options provided by
pomerium-cli
, and add the new certificate store flags to the table on the reference page.Resolves #995.
We may also want to update the mention of client certificate within https://www.pomerium.com/docs/capabilities/tcp/client#advanced-settings, but I think that can be done separately (after the Desktop Client UI changes are merged).