Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rdoherty-fastly
Copy link
Contributor

@rdoherty-fastly rdoherty-fastly commented Apr 29, 2024

Adds --cert-path argument to tls-custom certificate create command to pass in a path to a certificate file

Previously users were required to pass in the full certificate contents via the --cert-blob argument, which is cumbersome and error-prone. This allows users to specify a path to a certificate making this command easier to use.

The new argument --cert-path is mutually exclusive with --cert-blob and the command will return an error if both are specified.

@jsocol
Copy link
Member

jsocol commented Apr 29, 2024

Looks like the test failure is the same thing I hit in #1187. If you rebase on main you should pick up the fix from #1188

@Integralist
Copy link
Collaborator

Integralist commented Apr 30, 2024

As mentioned by @jsocol earlier the failing CI https://github.com/fastly/cli/actions/runs/8881360752/job/24383545720?pr=1189 is because of a change that rolled out in the GitHub runners which resulted in a change in macos-latest architecture. So rebasing main should hopefully fix that issue.

@rdoherty-fastly
Copy link
Contributor Author

Thanks @jsocol and @Integralist for the tips! Will be a few days before I have time to work on this again.

@rdoherty-fastly rdoherty-fastly force-pushed the rdoherty/pass-cert-filename branch 2 times, most recently from 3afdf25 to 370feba Compare May 3, 2024 23:13
@Integralist Integralist added the enhancement New feature or request label May 7, 2024
Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

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

Looking good. Some comments to be addresses + the CI is failing to run the tests successfully (looks to be failing on TestTLSCustomCertCreate/validate_custom_cert_is_submitted)

@rdoherty-fastly rdoherty-fastly force-pushed the rdoherty/pass-cert-filename branch from 9b704f3 to 582dbf9 Compare May 10, 2024 22:20
…to pass in a path to a certificate file

Previously users were required to pass in the full certificate contents via the --cert-blob argument, which is cumbersome and error-prone. This allows users to specify a path to a certificate making this command easier to use.

The new argument --cert-path is mutually exclusive with --cert-blob and the command will return an error if both are specified.
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

Successfully merging this pull request may close these issues.

5 participants