Skip to content

Support for own CA Certificate for HTTP backend #36937

Open
@Doriangaensslen

Description

@Doriangaensslen

Terraform Version

Currently the only way to use an own http Backend with an own PKI infrastructure is to use the Option.

skip_cert_verification

Use Cases

http Backend with an own PKI infrastructure (for example in Air Gapped environments)

Attempted Solutions

Review Code and Documentation:

Proposal

It would be nicer, if we could add a CA Certificate like:

terraform {
  backend "http" {
    address = "http://myrest.api.com/foo"
    lock_address = "http://myrest.api.com/foo"
    unlock_address = "http://myrest.api.com/foo"
    ca_file = "/path/to/my/ca.pem"
  }
}

References

Issue Found for mTLS: #21087 and #31699 but no issues found for just the ca_certificate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions