Skip to content

SSL-enabled WorkflowClient with CA cert as param and overriding authority name#448

Merged
tsurdilo merged 6 commits intotemporalio:mainfrom
Aymalla:aym/sslcontext-custom-ca
Jun 26, 2023
Merged

SSL-enabled WorkflowClient with CA cert as param and overriding authority name#448
tsurdilo merged 6 commits intotemporalio:mainfrom
Aymalla:aym/sslcontext-custom-ca

Conversation

@Aymalla
Copy link
Copy Markdown
Contributor

@Aymalla Aymalla commented May 19, 2023

What was changed?

A new sample has been added (ssl/SslEnabledWorkerCustomCA) that shows how to start a WorkflowClient that connects to temporal cluster with mTLS enabled created by (tls-simple sample);

SslEnabledWorkerCustomCA demonstrates:

  • Passing a CA certificate file as parameter
  • Overriding the authority name used for TLS handshakes (if needed)

Why?

To help developers to create mTLS enabled local dev environment using tls-simple sample to test their workflows.

Address help for issues like:
https://community.temporal.io/t/how-to-disable-host-name-verification/2808
https://community.temporal.io/t/how-to-set-tls-server-for-java-sdk-connection-option/6575

Checklist

  1. Closes

  2. How was this tested:

Manually using these steps mentioned in ssl/ReadME.md samples/ssl/ReadME.md

  1. Any docs updates needed? No

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 19, 2023

CLA assistant check
All committers have signed the CLA.

@tsurdilo
Copy link
Copy Markdown
Contributor

@Aymalla thanks for the pr!

@Aymalla
Copy link
Copy Markdown
Contributor Author

Aymalla commented Jun 11, 2023

@Aymalla thanks for the pr!

Hi @tsurdilo,
I hope you're doing well. I wanted to check in on the status of this PR.

@tsurdilo
Copy link
Copy Markdown
Contributor

@Aymalla hi yeah it looks good. I think the project structure changed since this pr was opened. Mind rebasing and adding it to the "core" dir? Thanks.

@tsurdilo
Copy link
Copy Markdown
Contributor

Hi, not sure the rebase was correct? Maybe better to update main branch and then add your changes in a new pr? Wdyt

@Aymalla
Copy link
Copy Markdown
Contributor Author

Aymalla commented Jun 20, 2023

@tsurdilo merge is Done

@tsurdilo
Copy link
Copy Markdown
Contributor

Thanks for merging. LGTM
@antmendoza can you please review as well? Thanks.

Copy link
Copy Markdown
Member

@antmendoza antmendoza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too, thanks @Aymalla

@tsurdilo tsurdilo merged commit 307a2df into temporalio:main Jun 26, 2023
@Aymalla Aymalla deleted the aym/sslcontext-custom-ca branch June 26, 2023 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants