Skip to content
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

[Request]: Update the API documentation #21

Open
SyedAanif opened this issue Aug 9, 2024 · 3 comments
Open

[Request]: Update the API documentation #21

SyedAanif opened this issue Aug 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@SyedAanif
Copy link

Feature Description

Thanks for building this API, but as a request can you please update the docs with examples specifically catering to the mTLS needs.

Use Case

This request is required to have a clear understanding of the certificate based broker connection. Few pointers:

  • What should be the format of the certificate file/Keys etc?
  • If we are creating certs and keys, what's the need of key-store-password?
  • Should we just create a ./trust_store folder with .pem files inside and not mention any file name in trust-path?
  • What's the format of trust_store files?
  • Should we create a certificate chain or keep all the certificates as individuals?

Proposed Solution

No response

@SyedAanif SyedAanif added the enhancement New feature or request label Aug 9, 2024
@mvsolace
Copy link

mvsolace commented Aug 9, 2024

Hi @SyedAanif , can you please raise this request with our support team by contacting [email protected]? They will be able to help answer your request or guide you to someone that can.

Thank you,
MV

@solace-brendabutler
Copy link

Two-way TLS authentication (or "client-certificate authentication") is documented here:

https://docs.solace.com/API/API-Developer-Guide-Go/Go-API-Messaging-Service.htm#Client

There are examples of it in this codebase in the test code. Please see pubsubplus-go-client/test/messaging_service_test.go, and search for either
"connect to the broker using client certificate authentication via authentication strategies"
or
"connect to the broker configured via properties".

@solace-brendabutler
Copy link

I have submitted a request for the documentation to be augmented with extra info about cert/key file format, and what to do in case the key is in the same file as the certificate, and what to do if there is no password for the private key.

I have also raised Issue SolaceSamples/solace-samples-go#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants