Skip to content

Allow setting http_proxy and https_proxy in cert-manager deployment #310

Closed

Description

@sboussekeyt

Hello,

My cluster is behind a proxy.

So i have the following error:
Error initializing issuer: Get https://acme-staging.api.letsencrypt.org/directory: dial tcp 23.206.25.158:443: i/o timeout
ErrVerifyACMEAccount 11m (x17 over 27m) cert-manager-controller Failed to verify ACME account: Get https://acme-staging.api.letsencrypt.org/directory: dial tcp 23.206.25.158:443: i/o timeout

Is possible to set the proxy address somewhere ?

Best regards,
Simon

Activity

  1. munnerz commented on Feb 11, 2018

    @munnerz
    Member
  2. sboussekeyt commented on Feb 11, 2018

    @sboussekeyt
    Author

    Thanks for your help!

    I added them (directly in the container). Il changed nothing, but i think a service restart is required to take vars in account.

    So i am not sure.

  3. munnerz commented on Feb 11, 2018

    @munnerz
    Member
  4. sboussekeyt commented on Feb 12, 2018

    @sboussekeyt
    Author

    Hello,

    Sorry for the delay, i am newbie in kubernetess. I have managed to add both http_proxy env vars.

    It works !!!

    Thanks you,

    Simon

  5. munnerz commented on Feb 12, 2018

    @munnerz
    Member

    Awesome! Glad you've got it working 😄

  6. sboussekeyt commented on Feb 12, 2018

    @sboussekeyt
    Author

    Will you add these feature ?

    Thanks again for your help!

  7. munnerz commented on Feb 12, 2018

    @munnerz
    Member

    Ah yeah, sorry I've closed this too soon!

    We should expose this option via the helm chart 😄 adding to 0.3 milestone.

  8. added this to the v0.3 milestone on Feb 12, 2018
  9. sboussekeyt commented on Feb 13, 2018

    @sboussekeyt
    Author

    Hello,

    In fact, i am not sure all is right with proxy.

    The certificate generation logs:

      Normal   PrepareCertificate     1m                cert-manager-controller  Preparing certificate with issuer
      Normal   PresentChallenge       1m                cert-manager-controller  Presenting http-01 challenge for domain mydomain.com
      Normal   SelfCheck              1m                cert-manager-controller  Performing self-check for domain mydomain.com
    

    Is there a http request during this step (self-check) ?

    Sorry for come back.

    Simon

  10. sboussekeyt commented on Feb 14, 2018

    @sboussekeyt
    Author

    It's ok now. Some http request was redirected to proxy. I have added no_proxy env var.

    Could you also add this var please ?

  11. added
    good first issue
    on Feb 23, 2018
  12. xorjain commented on Mar 28, 2018

    @xorjain

    @munnerz hey! when are you planning to release v0.3? I see you have already released alpha version. I want to use this for our k8s cluster.

  13. xorjain commented on Mar 28, 2018

    @xorjain

    @sboussekeyt hey, can you please help me with the setup you did to make this work? I couldn't really figure it out from your comments.

  14. 1 remaining item

  15. removed this from the v0.3 milestone on May 9, 2018
  16. changed the title [-]Get certificate behind a corporate proxy[/-] [+]Allow setting http_proxy and https_proxy in cert-manager deployment[/+] on May 9, 2018
  17. added
    kind/feature
    on Jun 5, 2018
  18. added 9 commits that reference this issue on Jun 25, 2018
    7f6779a
    3efe07c
    2ccb56b
    758e50a
    6795190
    df0d491
    8486fb1
    7b69469
    8074589
  19. added a commit that references this issue on Jul 5, 2018
    dde44ad
  20. n27051538 commented on Feb 1, 2021

    @n27051538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuekind/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions