Unable to add custom certificate in standalone mode

🐞 Bug report

I saw #464 (closed) exists, but this does not apply to the standalone version, where we are unable to mount our certificate into the container that's eventually ran. I would like a way to provide the certificate, such as via a file variable, to the standalone version.

Is there an existing issue for this?

Please search existing issues to avoid creating duplicates

  • I have searched the existing issues

App version

3.24.0

Execution mode

standalone

Package ecosystem

npm

Package manager version

Language version

dependabot.yml

N/A

Updated dependency

Expected outcome

A configuration option to provide the custom certificate

Native package manager behaviour

Log output

[2024-09-21 18:41:02 +0000] ERROR -- SSL_connect returned=1 errno=0 peeraddr=<ip>:443 state=error: certificate verify failed (unable to get local issuer certificate)
[2024-09-21 18:41:02 +0000] ERROR -- /usr/local/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock'
/usr/local/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect'
/usr/local/lib/ruby/3.3.0/net/http.rb:1674:in `connect'
/usr/local/lib/ruby/3.3.0/net/http.rb:1580:in `do_start'
/usr/local/lib/ruby/3.3.0/net/http.rb:1569:in `start'
/usr/local/lib/ruby/3.3.0/net/http.rb:2297:in `request'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/sentry-ruby-5.19.0/lib/sentry/net/http.rb:33:in `request'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/httparty-0.22.0/lib/httparty/request.rb:156:in `perform'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/httparty-0.22.0/lib/httparty.rb:611:in `perform_request'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/httparty-0.22.0/lib/httparty.rb:521:in `get'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/bundler/gems/gitlab-60249d077f86/lib/gitlab/request.rb:54:in `block (2 levels) in <class:Request>'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/bundler/gems/gitlab-60249d077f86/lib/gitlab/client/projects.rb:52:in `project'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/dependabot-common-0.275.0/lib/dependabot/clients/gitlab_with_retries.rb:129:in `public_send'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/dependabot-common-0.275.0/lib/dependabot/clients/gitlab_with_retries.rb:129:in `block in method_missing'
/home/dependabot/app/config/initializers/dependabot.rb:158:in `retry_connection_failures'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/dependabot-common-0.275.0/lib/dependabot/clients/gitlab_with_retries.rb:126:in `method_missing'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11558/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11558/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11558/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/home/dependabot/app/app/services/dependabot/update/runner.rb:72:in `gitlab_project'
/home/dependabot/app/app/services/dependabot/update/runner.rb:45:in `call'
/home/dependabot/app/app/services/application_service.rb:7:in `call'
/home/dependabot/app/app/services/job/triggers/dependency_update.rb:25:in `block in call'
/home/dependabot/app/app/helpers/application_helper.rb:105:in `run_within_context'
/home/dependabot/app/app/services/job/triggers/dependency_update.rb:24:in `call'
/home/dependabot/app/app/services/application_service.rb:7:in `call'
/home/dependabot/app/lib/tasks/dependabot.rake:110:in `block (2 levels) in <main>'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:279:in `block in execute'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:279:in `each'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:279:in `execute'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `synchronize'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:188:in `invoke'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:188:in `invoke_task'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block (2 levels) in top_level'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `each'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block in top_level'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:147:in `run_with_threads'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:132:in `top_level'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:83:in `block in run'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:214:in `standard_exception_handling'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:80:in `run'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/bin/rake:25:in `load'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/bin/rake:25:in `<top (required)>'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli/exec.rb:58:in `load'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli/exec.rb:58:in `kernel_load'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli/exec.rb:23:in `run'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli.rb:455:in `exec'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli.rb:35:in `dispatch'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/cli.rb:29:in `start'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/exe/bundle:28:in `block in <top (required)>'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/home/dependabot/app/vendor/bundle/ruby/3.3.0/gems/bundler-2.5.11/exe/bundle:20:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

Smallest manifest that reproduces the issue