You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/04/12 15:32:45 UTC

[GitHub] [solr-operator] thelabdude opened a new issue #255: Supply client cert for API calls to mTLS enabled Solr clusters

thelabdude opened a new issue #255:
URL: https://github.com/apache/solr-operator/issues/255


   If the Solr cluster requires mTLS, then the `http.Client` used by `api.go` needs to supply a client cert and optionally the Certificate Authority (CA) cert if not already trusted between client & server. This means adding the following config to the `http.Transport` object for the `http.Client`:
   ```
   				TLSClientConfig: &tls.Config{
   					ClientCAs:          caCertPool,
   					Certificates:       []tls.Certificate{clientCert},
                                             ...
   				},
   ```
   The server(s) will need to be configured to trust the CA that issued the client cert.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr-operator] HoustonPutman commented on issue #255: Supply client cert for API calls to mTLS enabled Solr clusters

Posted by GitBox <gi...@apache.org>.
HoustonPutman commented on issue #255:
URL: https://github.com/apache/solr-operator/issues/255#issuecomment-818267362


   Is this something that we need to setup with the solr-operator pod, or can it be done dynamically?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr-operator] HoustonPutman closed issue #255: Supply client cert for API calls to mTLS enabled Solr clusters

Posted by GitBox <gi...@apache.org>.
HoustonPutman closed issue #255:
URL: https://github.com/apache/solr-operator/issues/255


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org