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

introduce certopts #9606

Merged
merged 3 commits into from
Mar 22, 2021
Merged

introduce certopts #9606

merged 3 commits into from
Mar 22, 2021

Conversation

hanshasselberg
Copy link
Member

@hanshasselberg hanshasselberg commented Jan 21, 2021

I liked CAOpts from #9585 so much that I added CertOpts as well.

@github-actions github-actions bot added theme/certificates Related to creating, distributing, and rotating certificates in Consul theme/cli Flags and documentation for the CLI interface theme/tls Using TLS (Transport Layer Security) or mTLS (mutual TLS) to secure communication labels Jan 21, 2021

// generate leaf
serial, err := tlsutil.GenerateSerialNumber()
signer, _, err := tlsutil.GeneratePrivateKey()
Copy link
Member Author

Choose a reason for hiding this comment

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

I think I forgot to fix this one in CAOpts: the same signer needs to be used for CA and certs.

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from ca_create_connect to master January 27, 2021 07:52
@freddygv
Copy link
Contributor

@i0rek is there anything else you would like to add here?

@vercel vercel bot temporarily deployed to Preview – consul-ui-staging March 19, 2021 19:48 Inactive
@vercel vercel bot temporarily deployed to Preview – consul March 19, 2021 19:48 Inactive
@vercel vercel bot temporarily deployed to Preview – consul March 19, 2021 19:55 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging March 19, 2021 19:55 Inactive
@hanshasselberg hanshasselberg added the pr/no-changelog PR does not need a corresponding .changelog entry label Mar 19, 2021
@hanshasselberg
Copy link
Member Author

@freddygv I revisited the PR and did it all over again. Should be good now.

@vercel vercel bot temporarily deployed to Preview – consul March 22, 2021 08:43 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging March 22, 2021 08:43 Inactive
@hanshasselberg hanshasselberg merged commit 53e9c13 into master Mar 22, 2021
@hanshasselberg hanshasselberg deleted the cert_opts branch March 22, 2021 09:16
@hashicorp-ci
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/341317.

@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 53e9c13 onto release/1.9.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Mar 22, 2021
* introduce cert opts

* it should be using the same signer

* lint and omit serial
@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 53e9c13 onto release/1.8.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Mar 22, 2021
* introduce cert opts

* it should be using the same signer

* lint and omit serial
dizzyup pushed a commit that referenced this pull request Apr 21, 2021
* introduce cert opts

* it should be using the same signer

* lint and omit serial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-changelog PR does not need a corresponding .changelog entry theme/certificates Related to creating, distributing, and rotating certificates in Consul theme/cli Flags and documentation for the CLI interface theme/tls Using TLS (Transport Layer Security) or mTLS (mutual TLS) to secure communication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants