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

fix(fleet-provisioning): remove csr version set #792

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

aslafy-z
Copy link
Contributor

@aslafy-z aslafy-z commented Jan 22, 2025

fleet-provisioning fails with x509 csr set version request failed on every attempts.

X509_REQ_set_version param is zero indexed, it should be set to 0 or X509_REQ_VERSION_1 (== 0), or preferably not set at all.

References:

Additionally, the error check did not apply on this call, since ret was not assigned, making the function return with failure for every calls.

Description of changes:
Avoid setting X509 REQ Version by removing the block.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@archigup archigup enabled auto-merge (rebase) January 23, 2025 22:17
@archigup archigup merged commit f07efa7 into aws-greengrass:main Jan 23, 2025
11 of 17 checks passed
@aslafy-z aslafy-z deleted the patch-1 branch January 23, 2025 23:16
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.

3 participants