Skip to content

test: generate script for testing certs and keys - #2161

Merged
toidiu merged 1 commit into
mainfrom
ak-autoGenCert
Mar 23, 2024
Merged

test: generate script for testing certs and keys#2161
toidiu merged 1 commit into
mainfrom
ak-autoGenCert

Conversation

@toidiu

@toidiu toidiu commented Mar 23, 2024

Copy link
Copy Markdown
Contributor

Description of changes:

Certs/Keys used for testing were generated a long time ago and we dont have a way to renew them. Ideally, we can generate new ones when the old ones expire.. and now we can! As it turns out, its non-obvious and it took me awhile to figure out to generate valid cert/key pairs.

Testing:

Existing test should pass. I added a new test for the pkcs#1 encoded cert/key.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@toidiu
toidiu marked this pull request as ready for review March 23, 2024 01:02
@toidiu
toidiu enabled auto-merge (squash) March 23, 2024 01:02

[ ca_distinguished_name ]
# country name
C = JP

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why these values and not just Seattle?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah. I guess that's fine?

@toidiu
toidiu merged commit 0a60ec1 into main Mar 23, 2024
@toidiu
toidiu deleted the ak-autoGenCert branch March 23, 2024 01:38
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.

2 participants