When using a (lab-)firewall with "self-signed"-certificate, you'll end up in:
Error: Failed to connect to OPNSense
c:\ terraform plan
...
╷
│ Error: Failed to connect to OPNSense
│
│ with module.vcenter-t.provider["registry.terraform.io/gxben/opnsense"],
│ on ..\#modules\vsphere-vcenter\42-vcenter-static-dhcp-ip.tf line 2, in provider "opnsense":
│ 2: provider "opnsense" {
│
╵
╷
│ Error: Failed to connect to OPNSense
│
│ with module.vcenter-v.provider["registry.terraform.io/gxben/opnsense"],
│ on ..\#modules\vsphere-vcenter\42-vcenter-static-dhcp-ip.tf line 2, in provider "opnsense":
│ 2: provider "opnsense" {
│
Troubleshooting using Wireshark shows "TCP 3way-handshake".
Audit-Log in OPNSense is empty
Educated guess leads to certificates.
Enhancement
A switch to disable the ssl-certificate-security-stuff would be great.
For example
provider "opnsense" {
uri = var.opnsense_connection.firewall
user = "terraform"
password = "TerraF0rm"
# If you have a self-signed cert
allow_unverified_ssl = true
}
A error-message leading to the real-issue would be great, too.
System Information
When using a (lab-)firewall with "self-signed"-certificate, you'll end up in:
Versions
Description of Issue/Question
Troubleshooting using Wireshark shows "TCP 3way-handshake". Audit-Log in OPNSense is empty
Educated guess leads to certificates.
Enhancement
A switch to disable the ssl-certificate-security-stuff would be great.
For example
A error-message leading to the real-issue would be great, too.