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

option pm_tls_insecure = true to disable ssl verification not working with release 3.0.1-rc6 #1233

Open
pescobar opened this issue Jan 28, 2025 · 0 comments

Comments

@pescobar
Copy link

skipping ssl verification with pm_tls_insecure = true works with provider version 3.0.1-rc5 but it doesn't work if I upgrade to 3.0.1-rc6

I am using this provider config and my proxmox instance uses a self-signed ssl cert.

provider "proxmox" {
  #pm_api_url = ""  # env var PM_API_URL
  #pm_user = ""     # env var PM_USER
  #pm_password = "" # env var PM_PASS
  pm_tls_insecure = true
  pm_log_enable = true
  pm_log_file   = "terraform-plugin-proxmox.log"
  pm_debug      = true
  pm_log_levels = {
    _default    = "debug"
    _capturelog = ""
  }
}

When using 3.0.1-rc6 I always get SSL errors like the ones below

Post "https://pve-dmz05:8006/api2/json/access/ticket": tls: failed to verify certificate: x509: certificate signed by unknown authority
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

1 participant