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

Add Flag to disable cert check #67

Open
mkohn opened this issue Oct 6, 2021 · 9 comments
Open

Add Flag to disable cert check #67

mkohn opened this issue Oct 6, 2021 · 9 comments
Labels
enhancement New feature or request

Comments

@mkohn
Copy link

mkohn commented Oct 6, 2021

For some dev environments, a valid SSL cert might not be setup, it would be nice to be able to disable the Cert Validation Check to not get x509: certificate signed by unknown authority and terraform to fail.

@taiidani
Copy link
Owner

@mkohn Trying to clarify your use case a little further. Is there something pushing you to use self-signed certificates and HTTPS? There are a few secure ways outside of the app that I've typically seen followed in dev environments, such as trusting the cert in your client(s) or switching to a published port+http over the localhost loopback.

It's not impossible to disable the cert verification but given the security implications I'd love to have a use case to point to.

@mkohn
Copy link
Author

mkohn commented Oct 11, 2021

@taiidani for our ephemeral dev Jenkins environments we are using self-signed certs but still leave the Jenkins service to only communicating over HTTPs. We are testing Terraform to provision and maintain our jenkins jobs.

@taiidani taiidani added this to the 0.10 milestone Oct 13, 2021
@taiidani
Copy link
Owner

Hmm -- I'm still not following as to why you're not trusting the self-signed cert in your clients to avoid the MITM attack vulnerability, but I can see that starting out a dev environment you might want to begin with the [much] easier route of turning off certificate verification.

I'll tag this in for our 0.10 release 👍

@github-actions
Copy link

Stale issue message

@github-actions
Copy link

Stale issue message

@taiidani
Copy link
Owner

Having a hard time allocating free time to configure this and test it appropriately to ensure stability, but it's still a valid request. Reopening issue.

@github-actions
Copy link

Stale issue message

@taiidani taiidani added enhancement New feature or request and removed no-issue-activity labels Sep 19, 2022
@taiidani taiidani removed this from the 0.10 milestone Jan 14, 2023
@AssafKatz3
Copy link

Any workaround for it?

@killmeplz
Copy link

I assume you can add your self signed cert into CA storage on a server where you apply terraform from.

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

No branches or pull requests

4 participants