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

Fixes #23289: Remove old certificate verification option - ncf #1404

Conversation

amousset
Copy link
Member

@amousset amousset requested a review from peckpeck August 16, 2023 16:25
@@ -159,13 +159,13 @@ bundle agent sharedfile_to_node(remote_node, file_id, file_path, ttl)
ifvarclass => "!${canonified_path}_signed";

_ncf_path_exists_curl.pass2::
"code=`${ncf_paths.path[curl]} ${url}?hash=${hash} ${g.rudder_verify_certs_option} --tlsv1 --location --head --output /dev/null --silent --fail --write-out %{http_code}` || if [ $code -eq 404 ]; then exit 22; elif [ $code -eq 200 ]; then exit 0; else exit 254; fi"
Copy link
Member Author

Choose a reason for hiding this comment

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

This has no chance to work, we need to use rudder_client here

@amousset amousset marked this pull request as draft August 16, 2023 16:26
@peckpeck
Copy link
Member

can i close this draft ?

@amousset
Copy link
Member Author

No, id needs to be rebased once the fix for using rudder_client is done on sharedfile_to_node.

@peckpeck
Copy link
Member

So this should be rebased now

@amousset
Copy link
Member Author

nothing to do actually as we need to keep compatibility with 7.3 agent for this one.

@amousset amousset closed this Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants