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

it it a must to fill cacertificate #366

Closed
wanghongda-0624 opened this issue Sep 20, 2022 · 2 comments
Closed

it it a must to fill cacertificate #366

wanghongda-0624 opened this issue Sep 20, 2022 · 2 comments

Comments

@wanghongda-0624
Copy link

  • name: Import Secrets
    id: secrets
    uses: hashicorp/[email protected]
    with:

          url: https://vault-staging.cloud.ingka-system.cn
          namespace: ciam
          token: ${{ secrets.VAULT_TOKEN }}
         #  caCertificate: ${{ secrets.VAULT_CA_CERT }}
          secrets: |
             secret/webhook wechatkey | wechatkey
    

my config about job step, but it returns time out, the ip and port are communicated, what is the issue?

@jakoberpf
Copy link

Maybe try disabling the TLS verification: https://github.com/hashicorp/vault-action/blob/main/action.yml#L72 ?

@fairclothjm
Copy link
Contributor

@wanghongda-0624 Hello, no it is not required to set the ca cert. However, you will need to disable tls verification as was already suggested. Additionally, it is highly recommended to set the ca cert for Production use.

I am going to close this issue since it is quite old and does not appear to be a bug. If you are still experiencing issues, I suggest that you ask about this at Vault Discuss.

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

No branches or pull requests

3 participants